forked from apache/gobblin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
65 lines (52 loc) · 1.41 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
language: java
dist: bionic
sudo: required
jdk:
- openjdk8
addons:
apt:
packages:
- libaio-dev
- libdbus-glib-1-dev
- xsltproc
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
services:
- xvfb
- mysql
stages:
- test
- name: deploy
if: branch = master
before_script:
- mysql -uroot -e "create user testUser identified by 'testPassword';"
- mysql -uroot -e "SET PASSWORD FOR 'root'@'localhost' = PASSWORD('password')"
script:
- travis_retry ./travis/test.sh
- travis_retry ./gradlew jacocoTestReport
after_success:
- bash <(cat .codecov_bash)
after_failure: ./travis/junit-errors-to-stdout.sh
jobs:
include:
- stage: deploy
env: RUN_TEST_GROUP=none
install: skip
script:
- travis_retry ./travis/bintrayDeploy.sh
env:
jobs:
- RUN_TEST_GROUP=build
- RUN_TEST_GROUP=default
- RUN_TEST_GROUP=group1
- RUN_TEST_GROUP=coverage
global:
- secure: U72nmzXq7kXcIabiwvrTF+WkNFQxov2ACd8oPxWSHsyzRsfVJN42vT7gS3dLbH5G5claXG2p+rur4ueVffzYSwJ8B9OP6gTB8sNJnGr9zyxni4OJchyKqOYuj+UBpEQC/7qXKMCKnuJndsf1OvndDh/V1SH0DSSUuA6mDtgO/eM=
- secure: WiK7tyFV68xdkIfUlWreUHgEGGjaCBd73O4SbjE9AsbqqF7D+Iu8iRo1OhKQj+6eajUH9Eoev9rVN74FQgUfeNzrOkYsgDysXmyZ7+UxFokijFcATJmIBompA3dySGU2qXeKbJMNuUjXgrRIludaV6h2ahL6Fji42cgK4I3s2qs=
jdk:
- openjdk8