-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (44 loc) · 1.02 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
language: ruby
rvm:
- 2.3.1
sudo: required
services:
- docker
env:
- DOCKER_COMPOSE_VERSION="1.6.2"
- DOCKER_COMPOSE_VERSION="1.7.0"
- DOCKER_COMPOSE_VERSION="1.8.0"
- DOCKER_COMPOSE_VERSION="1.9.0"
- DOCKER_COMPOSE_VERSION="1.10.0"
- DOCKER_COMPOSE_VERSION="1.11.0"
- DOCKER_COMPOSE_VERSION="1.12.0"
git:
depth: 1
cache:
- apt
before_install:
- gem update bundler
- sudo rm /usr/local/bin/docker-compose
- curl -sSL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- stty cols 160
- cp variables.env.example variables.env
install:
- make pull
- make help
- bundle install --path vendor/bundle
before_script:
- make build
- make check
- sleep 1
script:
- bundle exec rspec spec
after_failure:
- bash bin/logs.sh
notifications:
email:
recipients:
on_success: change
on_failure: always