-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
47 lines (38 loc) · 883 Bytes
/
.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
language: java
dist: xenial
# temporary see https://github.com/cypress-io/cypress/issues/4069
addons:
apt:
packages:
- libgconf-2-4
jdk:
- openjdk8
env:
- img=existdb/existdb:latest spec="5.x.x/**"
- img=existdb/existdb:release spec="5.x.x/**"
- img=existdb/existdb:4.7.1 spec="4.x.x/**"
services:
- docker
cache:
npm: true
directories:
- ~/.cache
before_install:
- docker pull $img
- docker create --name exist-ci -p 8080:8080 $img
install:
- npm ci
- npm install -g polymer-cli bower
- bower install
- ant production-xar
- docker cp build/usermanager-*-prod.xar exist-ci:exist/autodeploy
before_script:
- docker start exist-ci
# exist needs time
- sleep 30
- docker ps
script:
- npm run cypress -- --record --spec \'cypress/integration/${spec}\'
notifications:
email: false
slack: exist-db:IXzUdqA0n11cnxaDz43ZQgdX