forked from pantsbuild/intellij-pants-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (39 loc) · 1.24 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
sudo: required
dist: xenial
language: python
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
before_install:
- PATH="/usr/lib/jvm/java-11-openjdk-amd64/jre/bin":$PATH
- JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
install: ./scripts/setup-ci-environment.sh
jdk:
- openjdk11
# General policy is to support pants for the past 10 releases and the latest master.
matrix:
include:
- python: 3.7
env: IJ_ULTIMATE=false PANTS_TEST_JUNIT_TEST_SHARD=0/2
- python: 3.7
env: IJ_ULTIMATE=false PANTS_TEST_JUNIT_TEST_SHARD=1/2
- python: 3.7
env: PANTS_SHA="release_1.18.0" TEST_SET=jvm-integration
- python: 3.7
env: PANTS_SHA="release_1.16.0" TEST_SET=jvm-integration
script:
# Test a single Java target without scala plugin
- ENABLE_SCALA_PLUGIN=false ./scripts/run-tests-ci.sh --test-junit-test=com.twitter.intellij.pants.integration.OSSPantsJavaExamplesIntegrationTest
- travis_wait 90 ./scripts/run-tests-ci.sh
after_success:
- scripts/deploy/deploy.sh