-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (54 loc) · 1.57 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
language: java
git:
depth: 3
jobs:
include:
- stage: native-libs
os: linux
dist: trusty
jdk: oraclejdk8
env: DEPLOY=true
- os: linux
dist: bionic
jdk: oraclejdk11
addons:
apt:
packages: mingw-w64
env:
- DEPLOY=true
- OPTIONS="-Pi686-w64-mingw32 -pl !glucose4j"
- os: linux
dist: bionic
jdk: oraclejdk11
addons:
apt:
packages: mingw-w64
env:
- DEPLOY=true
- OPTIONS="-Px86_64-w64-mingw32 -pl !glucose4j"
- os: osx
jdk: oraclejdk11
env: DEPLOY=true
- stage: multi-platform
os: linux
jdk: oraclejdk11
env: OPTIONS='-Dmulti-platform -pl !glucose'
- os: osx
osx_image: xcode9.3
jdk: oraclejdk8
env: OPTIONS='-Dmulti-platform -pl !glucose'
- if: NOT type IN (pull_request)
before_install: skip
install: skip
script:
- |
curl -LO --retry 3 https://gist.githubusercontent.com/ykazakov/33a86f5055888342f6a32d829fc02fa9/raw/9681f17d477ea519e3630db69eaed393c0222cce/trigger-appveyor.sh && sh trigger-appveyor.sh --branch $TRAVIS_BRANCH ykazakov glucose4j $APPVEYOR_BEARER_TOKEN
after_success: skip
cache:
directories:
- $HOME/.m2
before_install: mkdir -p ~/.m2 && cp .settings.xml ~/.m2/settings.xml
install: mvn install -DskipTests=true -U $OPTIONS
script: mvn test -Dassembly.skipAssembly=true -B $OPTIONS -pl '!glucose'
after_success:
- test "$DEPLOY" = true -a "$TRAVIS_PULL_REQUEST" = false && mvn source:jar deploy -DskipTests=true -B $OPTIONS