forked from javafxports/openjdk-jfx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
75 lines (63 loc) · 1.47 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
language: java
sudo: false
jdk: openjdk12
addons:
apt:
packages: &global_deps
- ksh
- bison
- flex
- gperf
- libasound2-dev
- libgl1-mesa-dev
- libgstreamer0.10-dev
- libgstreamer-plugins-base0.10-dev
- libjpeg-dev
- libpng-dev
- libx11-dev
- libxml2-dev
- libxslt1-dev
- libxt-dev
- libxxf86vm-dev
- pkg-config
- libavcodec-dev
- mercurial
- libgtk2.0-dev
- libgtk-3-dev
- libxtst-dev
- libudev-dev
- libavformat-dev
- cmake
- ruby
- gdb
- libcups2-dev
# Won't be able to build webkit in the time alloted by Travis
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
matrix:
fast_finish: true
include:
- os: linux
dist: trusty
addons:
apt:
packages:
- *global_deps
- os: osx
osx_image: xcode9
# env: PRINT_CRASH_LOGS="true"
before_script:
- echo $JAVA_OPTS
- sh ./gradlew --version
# run on xvfb screen (for linux).
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start; fi
before_install: bash .ci/before_install.sh
# skip install stage.
install: true
script: bash .ci/script.sh
notifications:
email: false