forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (51 loc) · 2.18 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
# Enables support for a docker container-based build
# which should provide faster startup times and beefier
# "machines". This is also required in order to use the
# cache configured below.
sudo: false
cache:
directories:
- $HOME/.pants.d
- $HOME/.ivy2
- build-support/isort.venv
- build-support/pants_dev_deps.venv
- build-support/virtualenv.dist
language: python
python:
- "2.7"
install:
- pip --quiet install coveralls
env:
global:
# Credentials for OSX syncing: GH_USER, GH_EMAIL, GH_TOKEN
# These are encrypted with a public key for our repo that only
# Travis-CI has the private key for. We are trusting Travis-CI
# here but no-one else.
#
# See: http://docs.travis-ci.com/user/encryption-keys/
- secure: VvwbndU++a2/iNAjk9cd67ATiipDwqcKnxDR4/J2Ik3GH10wHEDUhJ1+MK4WLhedfaOakDOEmarZQS3GwtgvCHO3knpTJuJc8d/bCfZovYuSqdi//BEv4dS7hDt6tQeJfkbBjG0T4yNjPJ3W9R9KDWCy/vj2CUm90BGg2CmxUbg=
matrix:
- CI_FLAGS="-clpnet 'Various pants self checks'" # (fkmsr)
- CI_FLAGS="-fkmsrclpn 'Test examples and testprojects'" # (et)
- CI_FLAGS="-fkmsrcnet 'Python unit tests for pants and pants-plugins'" # (lp)
- CI_FLAGS="-fkmsrclpet 'Python contrib tests'" # (n)
- CI_FLAGS="-fkmsrlpnet -i 8:0 'Python integration tests for pants - shard 1'" # (c)
- CI_FLAGS="-fkmsrlpnet -i 8:1 'Python integration tests for pants - shard 2'"
- CI_FLAGS="-fkmsrlpnet -i 8:2 'Python integration tests for pants - shard 3'"
- CI_FLAGS="-fkmsrlpnet -i 8:3 'Python integration tests for pants - shard 4'"
- CI_FLAGS="-fkmsrlpnet -i 8:4 'Python integration tests for pants - shard 5'"
- CI_FLAGS="-fkmsrlpnet -i 8:5 'Python integration tests for pants - shard 6'"
- CI_FLAGS="-fkmsrlpnet -i 8:6 'Python integration tests for pants - shard 7'"
- CI_FLAGS="-fkmsrlpnet -i 8:7 'Python integration tests for pants - shard 8'"
before_script: |
./build-support/bin/ci-sync.sh
script: |
uname -a
java -version
./build-support/bin/ci.sh -dx ${CI_FLAGS}
# We accept the default travis-ci email author+comitter notification
# for now which is enabled even with no `notifications` config.
# notifications:
# email: ...
after_success:
coveralls