forked from belgattitude/php-java-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
44 lines (33 loc) · 732 Bytes
/
.travis.yml
File metadata and controls
44 lines (33 loc) · 732 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
33
34
35
36
37
38
39
40
41
42
dist: trusty
sudo: required
language: java
jdk:
- oraclejdk8
#php: 7.1
#services:
# - mysql
os:
- linux
before_script:
# for debugging purposes
- php --version
- php-cgi --version
- which php-cgi
- chmod +x gradlew
script:
# Regular test suite
- ./gradlew test
# Launch a server
#- ./gradlew clean tomcatRun
# Some debug to see if server has started
#- sudo netstat -nlp | grep :8093
#- cat ./tomcat.log
# debug travis
# - sudo netstat -nlp
# Launch the soluble-japha test suite
- sudo -E env "PATH=$PATH" ./.travis/run_soluble_japha_phpunit_tests.sh
after_failure:
- cat ./tomcat.log
after_success:
#- ./gradlew build jacocoTestReport
- bash <(curl -s https://codecov.io/bash)