forked from TexasDigitalLibrary/Vireo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (34 loc) · 1.1 KB
/
.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
# Send final notification to coveralls after all jobs have been completed.
notifications:
webhooks: https://coveralls.io/webhook
matrix:
include:
- name: "Java Tests"
sudo: required
language: java
jdk: oraclejdk8
before_script:
- export COVERALLS_PARALLEL=true
install:
- mvn clean package -Dproduction -DskipTests=true
- mvn test-compile -Dclient -DskipTests=true -Dmaven.javadoc.skip=true -B -V
after_success:
- mvn clean test cobertura:cobertura jacoco:report coveralls:report -DserviceName="travis-ci" -DserviceBuildNumber=$TRAVIS_BUILD_NUMBER
- name: "Node/Javascript Tests"
language: node_js
node_js: "6"
addons:
- chrome: stable
before_script:
- export DISPLAY=:99.0
- export COVERALLS_PARALLEL=true
- export CI_NAME="travis-ci"
- export CI_BUILD_NUMBER=$TRAVIS_BUILD_NUMBER
- sh -e /etc/init.d/xvfb start
- npm start > /dev/null &
- npm run update-webdriver
- sleep 1 # give server time to start
- grunt coverage-preprocess
script:
- npm run test-ci
- grunt coverage