-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (38 loc) · 992 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
sudo: false
git:
depth: 1
addons:
apt:
packages:
- curl
- bsdtar
jdk:
- openjdk8
env:
- STYLE_VERSION="0.4.0" BOOTSTRAP_VER="3.4.1"
script:
- sh -x ./build.sh
- mvn clean
- mvn package -Pcss-with-bootstrap
- mvn package -Pless-with-bootstrap
- mvn package -Pless-without-bootstrap
- sh -c "./src/main/script/maven-deploy.sh --settings .maven-settings.xml"
deploy:
api_key:
secure: "$DEPLOY_OAUTH_TOKEN"
file:
- "bootstrap-clarin-${STYLE_VERSION}.tgz"
- "src/main/less/variables.less"
- "src/main/less/clarin-additions.less"
- "target-css-with-bootstrap/base-style-${STYLE_VERSION}-css-with-bootstrap.jar"
- "target-less-with-bootstrap/base-style-${STYLE_VERSION}-less-with-bootstrap.jar"
- "target-less-without-bootstrap/base-style-${STYLE_VERSION}-less-without-bootstrap.jar"
on:
tags: true
overwrite: true
provider: releases
skip_cleanup: true
notifications:
email:
on_success: change
on_failure: always