-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 842 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
language: java
jdk:
- oraclejdk8
branches:
only:
- master
- development
- stage
node_js: 6.1
before_install:
- curl -s -o $HOME/.nvm/nvm.sh https://raw.githubusercontent.com/creationix/nvm/v0.31.0/nvm.sh
- source $HOME/.nvm/nvm.sh
- nvm install stable
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- pip install --user codecov
- gem install compass
install:
- npm install
- npm install -g bower
- bower install
script:
# - npm test ==> run with the build below
- mvn clean package -DurlPath='' sonar:sonar -Dsonar.host.url=https://sonarqube.com -Dsonar.login=${SONAR_TOKEN}
after_success:
- mvn clean test jacoco:report
- npm install -g codeclimate-test-reporter
- codecov
- codeclimate-test-reporter < coverage/**/lcov.info
cache:
directories:
- '$HOME/.m2'
- '$HOME/.sonar/cache'