forked from jphp-group/jphp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (26 loc) · 721 Bytes
/
.travis.yml
File metadata and controls
32 lines (26 loc) · 721 Bytes
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
dist: trusty # xenial fail to install oraclejdk8
language: java
jdk:
- openjdk11
- openjdk8
- oraclejdk8
services:
- mongodb
env:
-
- JPHP_TEST_COMPILED=1
- JPHP_TEST_CONCURRENT=1
before_install:
- export TZ=
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
- cat /etc/hosts # optionally check the content *before*
- sudo hostname "$(hostname | cut -c1-63)"
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
- cat /etc/hosts # optionally check the content *after*
# - gradle wrapper
- chmod +x gradlew
script: ./gradlew check --stacktrace --info -Dfile.encoding=UTF-8
addons:
hosts:
- myshorthost
hostname: myshorthost