-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 1.34 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
os: linux
language: shell
git:
depth: 2
services:
- docker
branches:
only:
- master
env:
global:
- IMAGE=dddecaf/wsgi-base
- BUILD_COMMIT=${TRAVIS_COMMIT}
- SHORT_COMMIT=${TRAVIS_COMMIT:0:7}
- BUILD_DATE=$(date -u +%Y-%m-%d)
before_install:
- echo ${DOCKER_PASSWORD} | docker login -u=decaftravis --password-stdin
install:
- make build
script:
- docker run --rm ${IMAGE}:alpine gunicorn --version
- docker run --rm ${IMAGE}:debian gunicorn --version
after_success:
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then make push; fi
notifications:
email: false
slack:
rooms:
secure: eCnjUreiZm3EZSqpeey6MCtbJgMfbzWLIL6hJqegFt/erV9hsfgUaGRDf0JWls6b1eNhVVgx7YBBpq5j9fhweBgH18dGlwU8BPMyqlixzwCiK2WHfJbZ7xaDtbONrVyS1RV2a4AHZNyiQUHaANkPLyaVIW/B63MxFB4smQsFKpDiYbYXCOwL5WF++V0bozXubbkxCxpG6coUVEiVbGFmYcnrReVjEzVaMTfjZjZez7xRHyCTgr5PLCtkHr85GkhrKI/qhYk5mUKR823L+N7RHNuv5d+sKkWq9arhLc7+yaaRXNfRM9+M2S2vXAyTvQJ81H5VbSOAUr9WisGvxUX5k3EvOxafKTeJBqwd7kbppSQyYu4J+UgK0vd1CV9zfo4BJQt9MzoUuEB1NNQi9q5BqNI0RuHUQXLFy5HtJxIxWnd06TuNvX3MGof8kJ554raRMJYYnRKgIat6RRbx2MY+NEGI93wfVMMSWhbjWWDECnVidaUKR1kDhedCXm80kvZ7US3PNDQVEmulXSyqc7EALXhiW0ds4xxBVyg56hHcNH8n63NE13Kf/XBe3TuM68FlYOyOIWmVyihOVcjNA2jyuRy/jR9P0tLRab7H+eGu7rVSpWR8eO1c8RTyEngJXSZP/ocfXe9mvSk5BYv5TH9SFvGUkHYRRDwZMUJTXXwOmO8=
on_success: change
on_failure: change
on_pull_requests: false