forked from scalatest/scalatest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (62 loc) · 1.93 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
language: scala
scala:
- 2.11.5
- 2.10.4
jdk:
- oraclejdk7
- openjdk6
- oraclejdk8
env:
#see https://github.com/scalatest/scalatest/pull/245
#global values should be replaced using http://docs.travis-ci.com/user/encryption-keys/ with valid values
global:
- SCALATEST_NEXUS_LOGIN=tbd
- SCALATEST_NEXUS_PASSWORD=tbd
- SCALATEST_GPG_FILE=tbd
- SCALATEST_GPG_PASSPHASE=tbd
matrix:
- MODE=RegularTests1
- MODE=RegularTests2
- MODE=RegularTests3
- MODE=RegularTests4
- MODE=RegularTests5
- MODE=ScalacticTests
- MODE=genMustMatchersTests1
- MODE=genMustMatchersTests2
- MODE=genMustMatchersTests3
- MODE=genMustMatchersTests4
- MODE=genGenTests
- MODE=genTablesTests
- MODE=genInspectorsTests
- MODE=genInspectorsShorthandsTests1
- MODE=genInspectorsShorthandsTests2
- MODE=genTheyTests
- MODE=genContainTests1
- MODE=genContainTests2
- MODE=genSortedTests
- MODE=genLoneElementTests
- MODE=genEmptyTests
#before_script: ./travis_build.sh Compile
script: ./travis_build.sh $MODE
notifications:
email:
- bill@artima.com
- cheeseng@amaseng.com
cache:
directories:
- $HOME/.ivy2
#after_success:
# # only 'scalatest/scalatest' 'master' branch is published from the first node
# - |
# echo "Succeded on: ${TRAVIS_REPO_SLUG}/${TRAVIS_BRANCH}"
# if [ "${TRAVIS_REPO_SLUG}/${TRAVIS_BRANCH}" = "scalatest/scalatest/master" ]; then
# # temporary for convinience taken outside, todo: grab in repo, also some of steps may be hidden in inside of travis_build
# curl -o travis_after_all.py https://raw.github.com/dmakhno/travis_after_all/master/travis_after_all.py
# python travis_after_all.py
# export $(cat .to_export_back)
# if [ "$BUILD_LEADER" = "YES" ]; then
# if [ "$BUILD_AGGREGATE_STATUS" = "others_succeeded" ]; then
# ./travis_build.sh Publish
# fi
# fi
# fi