forked from Netflix/genie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (46 loc) · 2.69 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
dist: xenial
addons:
postgresql: '9.6'
language: java
jdk:
- openjdk8
services:
- mysql
- postgresql
- docker
git:
depth: false
install: "./travis/installViaTravis.sh"
before_script:
- cat "$TRAVIS_BUILD_DIR/travis/config/mysql/my.cnf" | sudo tee -a /etc/mysql/my.cnf
- sudo service mysql restart
- mysql -u root -e 'create database genie;'
- psql -U postgres -c 'create database genie;'
script: "./travis/buildViaTravis.sh"
before_cache:
- rm -f "${HOME}/.gradle/caches/modules-2/modules-2.lock"
- rm -fr "${HOME}/.gradle/caches/*/plugin-resolution/"
- rm -f "${HOME}/.gradle/caches/*/fileHashes/fileHashes.bin"
- rm -f "${HOME}/.gradle/caches/*/fileHashes/fileHashes.lock"
cache:
directories:
- "${HOME}/.gradle/caches/"
- "${HOME}/.gradle/wrapper/"
- genie-ui/node_modules/
- genie-ui/.gradle/nodejs
- genie-ui/.gradle/npm
timeout: 1000
env:
global:
- secure: a5QmXCWR7wwEf/poWSj3PDAb6VICKqTTw3qbNjQwSvCzaCYtZZmxLbruQQlKOyR6W4j2VMrp2Ip5xrBjlCrOTvkFymPY3L+EwbPxsXbO4uhzs43BNFLhDon/Duv3TRhnedkqP0s8hN1ylxCbcID0UUPXQGrhnu8mb5QlDUx2mr8=
- secure: OU4bxS0wlL7cu2w+rlDNheW8qQxduBZfXqFkTf80Ds6QDpYK3cDi4DrazqGM9afzy5CwwJtesICIhU4rFKGyOp7D4B8caHAnoefhtOt5RAhj7cuR0N9ub0GGtHAWfZFJXnCOrLyZHpS5GgCNtR7vH6TJ3N4xxZM/JUDphNQz7b4=
- secure: KhF71cR3Goh37T91P1peQIo2fyqAy/+LwicVulgqx1KLIC0Dp+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