forked from TEAMMATES/teammates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (34 loc) · 912 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
39
40
41
42
43
44
language: java
jdk:
- oraclejdk7
branches:
only:
- master
- release
notifications:
email: false
sudo: required
dist: trusty
addons:
firefox: "46.0"
before_install:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid \
--make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1440x900x16"
before_script:
- export DISPLAY=:99.0
- tar -xjf /tmp/firefox-46.0.tar.bz2 --directory $TRAVIS_BUILD_DIR/
- export PATH="$TRAVIS_BUILD_DIR/firefox:$PATH"
- export PATH="./node_modules/.bin":$PATH
- ./gradlew createConfigs testClasses
- ./gradlew downloadStaticAnalysisTools --continue
- ./gradlew staticAnalysis --continue
install: true
script:
- ./gradlew appengineRun travisTests
after_failure:
- gem install gist
- ./gradlew generateFailedCmd
after_success:
- ./gradlew jacocoTestReport
after_script:
- ./gradlew appengineStop