-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy path.travis.yml
48 lines (39 loc) · 1.2 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
sudo: required
dist: trusty
language: python
python: "2.7.14"
cache:
directories:
- ${HOME}/.cache/pants
- .cache/bootstrap # See pants.ini [cache.bootstrap]
- .cache/pants # Pants downloaded by scripts/setup-ci-environment.sh
notifications:
email:
addons:
apt:
packages:
- python-dev
- openssl
- libssl-dev
before_install:
# Remove bad openjdk6 from trusty image, so
# Pants will pick up oraclejdk6 from `packages` above.
- sudo rm -rf /usr/lib/jvm/java-1.6.0-openjdk-amd64
- sudo rm -rf /usr/lib/jvm/java-6-openjdk-amd64
- jdk_switcher use oraclejdk8
install: ./scripts/setup-ci-environment.sh
# General policy is to support pants for the past 10 releases and the latest master.
env:
matrix:
- IJ_ULTIMATE=false PANTS_TEST_JUNIT_TEST_SHARD=0/2
- IJ_ULTIMATE=false PANTS_TEST_JUNIT_TEST_SHARD=1/2
- IJ_ULTIMATE=true TEST_SET=jvm-integration
- PANTS_SHA="release_1.3.0.dev5" TEST_SET=jvm-integration
- PANTS_SHA="release_1.2.1" TEST_SET=jvm-integration
- PANTS_SHA="release_1.2.0" TEST_SET=jvm-integration
script:
- ./scripts/run-tests-ci.sh
after_success:
- scripts/deploy/deploy.sh