forked from crate/crate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (47 loc) · 1.27 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
language: java
jdk:
- oraclejdk8
sudo: false
env:
global:
- secure: "LLqhKxqgRMp/C/TzZWv8YuhpmEm1twggm76NBUAQfZmOPLCkQSpAO8hoBM3qaIlDPSKPgoYj9f0TBuNi0iIFghQf0Xc4pXPCV0AnoGpXwRGiJATTAXfnG7RBa/hXRRBeAKlGmAI9GLtIoCQbUKYhq8gqwbzQVQXq+90rhsMH4zo="
- CRATE_TESTS_SQL_REQUEST_TIMEOUT="20"
- _JAVA_OPTIONS="-Xmx1g"
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.m2
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
notifications:
email: false
before_install:
- ulimit -u 65535
script:
- ./gradlew -s test
- ./gradlew -s itest
- ./gradlew -s forbiddenApisMain
- ./gradlew -s pmdMain
- ./blackbox/.venv/bin/sphinx-build -n -W -c docs/ -b html -E blackbox/docs/ docs/out/html
after_success:
- ./gradlew jacocoReport
- bash <(curl -s https://codecov.io/bash)
branches:
except:
- /.*\/.*/
addons:
apt:
sources:
- deadsnakes
packages:
- python3.4
- python3.4-dev
- oracle-java8-installer # use newer java8 then default travis oraclejdk8
coverity_scan:
project:
name: "crate/crate"
build_command_prepend: "./gradlew clean"
build_command: "./gradlew compileJava"
notification_email: [email protected]
branch_pattern: coverity_scan