-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
39 lines (39 loc) · 933 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
30
31
32
33
34
35
36
37
38
39
language: python
python:
- 2.7
evv:
- DOCKER_CONTENT_TRUST=0
services:
- docker
before_install:
- sudo apt-get update
- docker-compose --version
- pip install docker-compose --upgrade
- docker-compose --version
install:
- docker-compose -f docker-compose-build.yml build
- docker-compose -f docker-compose-build.yml up -d
- docker-compose -f docker-compose-build.yml ps
before_script:
- pip install requests
- pip install docker
script:
- bash ./.travis/linters.sh
- python tests.py
notifications:
slack:
rooms:
- optimum-team:GycletOWK4Kt95GktwYwfUMp#build
webhooks:
urls:
- https://webhooks.gitter.im/e/0aa6221439383fa972ab
on_success: change
on_failure: always
on_start: never
after_success:
- echo "$DOCKER_PASS" | docker login -u "$DOCKER_USER" --password-stdin
- docker-compose -f docker-compose-build.yml images
- docker push trydirect/symfony:4.2.3
env:
matrix:
- DOCKER_CONTENT_TRUST=1