forked from SeleniumHQ/docker-selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (25 loc) · 761 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
language: python
sudo: required
services:
- docker
notifications:
slack: seleniumhq:Kx5MB7T51SPMpbBMYfvxNW4q
jobs:
include:
- stage: Build and integration tests
env: step=build_and_test
script:
- docker info
- VERSION="$TRAVIS_BRANCH" make ci
- env: step=build_and_test_random_user
script:
- docker info
- USE_RANDOM_USER_ID=true VERSION="$TRAVIS_BRANCH" make ci
- stage: Release
if: type != pull_request AND tag IS present
script:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- VERSION="${TRAVIS_TAG}" make build
- VERSION="${TRAVIS_TAG}" make release
- VERSION="${TRAVIS_TAG}" make tag_latest
- VERSION="${TRAVIS_TAG}" make release_latest