-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy path.travis.yml
37 lines (26 loc) · 928 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
sudo: required
language: ruby
notifications:
slack: neohabitat:rLGUstSJGUC2eW9610GfoMBx
services:
- docker
before_install:
# Ensures that MySQL is stopped before continuing.
- sudo service mysql stop
# Builds everything locally.
- npm install && mvn clean package
# Logs the current version of docker-compose.
- docker-compose --version
# You will want this for logging. If one of your containers does not build for
# whatever reason it's best to report that now before your tests start
# otherwise it can be really tricky to debug why tests are failing sometimes.
- docker ps
script:
# Builds all local images.
- docker-compose build --pull
# Stands up all Docker-based services.
- docker-compose up -d
# Ugly hardwait to ensure that Docker services are up before functional tests execute.
- sleep 60
# Executes functional tests:
- cd test && npm run telko -- -p 2018 -f chip