forked from scalatest/scalatest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (45 loc) · 1.52 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
language: scala
scala:
- 2.10.4
- 2.11.2
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=Main
- MODE=genMustMatchersTests
- MODE=genGenTests
- MODE=genTablesTests
- MODE=genInspectorsTests
- MODE=genInspectorsShorthandsTests
- MODE=genTheyTests
- MODE=genContainTests
- MODE=genSortedTests
- MODE=genLoneElementTests
- MODE=genEmptyTests
#before_script: ./travis_build.sh Compile
script: ./travis_build.sh $MODE
#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