forked from elgalu/docker-selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (47 loc) · 1.44 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
# Even though we run everything inside docker Travis require
# us to pick a language else it will pick Ruby by default
# Choose a lightweight base image; we provide our own build tools.
# https://github.com/lukasmartinelli/hadolint/blob/master/.travis.yml#L1
# language: generic was failing in OSX so in that case you can use language: c
language: generic
# Omit running tests on temporal branches,
# i.e. branches with names that start with "tmp"
branches:
except:
- /^tmp/
env:
global:
- TEST_SLEEPS="0.7"
- ADDED_TEST_SLEEP="6.5"
matrix:
include:
# Linux with docker:stable compose:stable
# Use DOCKER_PUSH_LATEST=false to debug
- os: linux
language: generic
sudo: required
dist: trusty
services:
- docker
env:
- DOCKER_VERSION="stable"
DOCKER_COMPOSE_VERSION="1.13.0"
DOCKER_PUSH=true
DOCKER_PUSH_LATEST=true
before_install:
- travis_retry ./test/before_install_setup
- travis_retry ./test/before_install_build
install:
- ./test/install
script:
- ./test/script_start
- travis_retry ./test/script_scenario_basic
- travis_retry ./test/script_scenario_restart
- travis_retry ./test/script_scenario_node_dies
- travis_retry ./test/script_scenario_make
- travis_retry ./test/script_scenario_compose_N_N
# cleanup though doesn't seem to be necessary in Travis infra
after_script:
- ./test/after_script
after_success:
- ./test/script_end