forked from phan/docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (42 loc) · 1.16 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
language: bash
sudo: required
services:
- docker
env:
- VERSION=0.8.0
- VERSION=0.8.1
- VERSION=0.8.2
- VERSION=0.8.3
- VERSION=0.8.4
- VERSION=0.8.5
- VERSION=0.8.6
- VERSION=0.9.0
- VERSION=0.9.1
- VERSION=0.9.2
- VERSION=0.9.3
- VERSION=0.9.4
- VERSION=edge
matrix:
exclude:
- evn: VERSION=0.8.0 TRAVIS_EVENT_TYPE=cron
- evn: VERSION=0.8.1 TRAVIS_EVENT_TYPE=cron
- evn: VERSION=0.8.2 TRAVIS_EVENT_TYPE=cron
- evn: VERSION=0.8.3 TRAVIS_EVENT_TYPE=cron
- evn: VERSION=0.8.4 TRAVIS_EVENT_TYPE=cron
- evn: VERSION=0.8.5 TRAVIS_EVENT_TYPE=cron
- evn: VERSION=0.8.6 TRAVIS_EVENT_TYPE=cron
- evn: VERSION=0.9.0 TRAVIS_EVENT_TYPE=cron
- evn: VERSION=0.9.1 TRAVIS_EVENT_TYPE=cron
- evn: VERSION=0.9.2 TRAVIS_EVENT_TYPE=cron
- evn: VERSION=0.9.3 TRAVIS_EVENT_TYPE=cron
- evn: VERSION=0.9.4 TRAVIS_EVENT_TYPE=cron
allow_failures:
- env: VERSION=edge
script:
- ./build versions/$VERSION/options
- ./build test versions/$VERSION/options
deploy:
- provider: script
script: docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" && ./build push versions/$VERSION/options
on:
branch: master