forked from nappa32/docker-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (35 loc) · 1.2 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
language: generic
sudo: true
services:
- docker
env:
matrix:
- RUBY_TAG=1.9.3 FROM_OS=ubuntu FROM_TAG=16.04
- RUBY_TAG=2.0.0 FROM_OS=ubuntu FROM_TAG=16.04
- RUBY_TAG=2.1 FROM_OS=ubuntu FROM_TAG=16.04
- RUBY_TAG=2.2 FROM_OS=ubuntu FROM_TAG=16.04
- RUBY_TAG=2.3 FROM_OS=ubuntu FROM_TAG=16.04
- RUBY_TAG=2.4 FROM_OS=ubuntu FROM_TAG=16.04
- RUBY_TAG=2.5 FROM_OS=ubuntu FROM_TAG=16.04
- RUBY_TAG=2.6 FROM_OS=ubuntu FROM_TAG=16.04
- RUBY_TAG=1.9.3 FROM_OS=debian FROM_TAG=jessie
- RUBY_TAG=2.0.0 FROM_OS=debian FROM_TAG=jessie
- RUBY_TAG=2.1 FROM_OS=debian FROM_TAG=jessie
- RUBY_TAG=2.2 FROM_OS=debian FROM_TAG=jessie
- RUBY_TAG=2.3 FROM_OS=debian FROM_TAG=jessie
- RUBY_TAG=2.4 FROM_OS=debian FROM_TAG=jessie
- RUBY_TAG=2.5 FROM_OS=debian FROM_TAG=jessie
- RUBY_TAG=2.6 FROM_OS=debian FROM_TAG=jessie
script:
- make build
- make test
before_deploy:
- export DOCKER_CONFIG="${HOME}/.docker"
- mkdir -p "$DOCKER_CONFIG"
- openssl aes-256-cbc -K "$DOCKER_CONF_key" -iv "$DOCKER_CONF_iv" -in .docker/config.json.enc -out "${DOCKER_CONFIG}/config.json" -d
deploy:
provider: script
skip_cleanup: true
script: make push
on:
branch: master