-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
84 lines (71 loc) · 9.21 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
sudo: required
language: python
python:
- '3.6'
services:
- docker
env:
global:
- secure: "BckFz24SLylKj7tG6zKVxRvLBlg5JHguKWQza6ahBv8fkqes0S21zQ2gH4uhIbNYUqsJXJy21gjBz1PGhW/9ho+FyumZ0grCP18fEHBj2ynVNMIndRO+hVgLEOzcL9OjzhnboUcd6viuidrQYoPmblsrWaR6BryR9uGhgoyQ+hDRaaWuQ6LomCM3UavH0F+7hkJFbLWee538aPRx2nZR9LZIPQ2Uva9so0IZnydYer6G1Y32b0S8YTjN5Z56q+DwTwUS6mjAqu9ScZceOHC8IM/KhsuUc8sBiC+ONA/Z9/YNMOcPVYONTQhFKVbAqCf7rlkVyXD5MlEF06tr+G2a1Q3JQz/h5sefQcSPPl00u5tCztRhao/xVF+u/JiDGCN/+1/KvBo/XJu8OIEOucc5jkuAFyqmtUaFIRVjV0PTqlV6hTnzkQ/YWqMh5aUm040SHS5n+cjIEELbC7u/hFYT7wYtox4NVcGmF6a4IS0OTyk2kaP17XwVz0PEhhzalY8AitlPH2+RqL/abGVdRUQ8vFGPNSh2mmYQL2SqBdUk3lza72s2cD077CzDgObO6HFbHtjfCDb7cUBAvgdgCWROauTDQvspsq1edhkdK3IfDsmLNzKe83jWxM80ZCLUrbCOcZVBDzNhecL7FOFDKfeXrjeW0zJpUDS0XmhAsEmOvWU="
- secure: "ZVPhBfgxXl29z+0QgimcKFT7fKySY1grHc1wgCbeABeySzlf+SRTHKR9M1QGDEejO7tWkzY0MMXDqKSCSIsN2ExLoAjKshlFzJ4Szo7akQS2814+Ulm9XZ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RESULT: false
- DEPLOY_PRODUCTION: nope
- DEPLOY_IDENTIDOCK_IMAGE_TAG: master
- DOCKER_COMPOSE_VERSION: 1.11.2
- DOCKER_VERSION: 17.03.0-ce
before_install:
- sudo apt-get -qq update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine
- sudo docker --version
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- which docker-compose
- docker-compose --version
install:
- pip install coveralls
script:
- make test-unit
- make test-component
after_success:
- coverage combine --append && coveralls
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
make build-tag-push;
fi
before_deploy:
- openssl aes-256-cbc -K $encrypted_18064ed45155_key -iv $encrypted_18064ed45155_iv -in travis_deploy_rsa.enc -out /tmp/travis_deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/travis_deploy_rsa
- ssh-add /tmp/travis_deploy_rsa
- source scripts/add_known_hosts.sh
# - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
# make deploy DEPLOY_ENVIRONMENT=staging && make test-e2e;
# fi
deploy:
provider: script
skip_cleanup: true
script: make deploy
on:
branch: master
condition: $TRAVIS_PULL_REQUEST = false
# tags: true
notifications:
email:
recipients:
- anirban.nick@gmail.com
on_success: never
on_failure: always
slack:
rooms:
- secure: ElBCmf555oP8e9pghlxWGkC8qIWr7ieYv7K8vnLlAbQ1PLKqISM8ENmgMYG/qr0pxCS7m/GWzKsWk72swOtYjFY0ddrZJS905FjrmFKllonnDP2Rh7f+SoRathta6pHEILE7bMMNJ8lyr48Ww2JohyZ+S8qm5bzMWxxdCIeP76anrMDWiQFa++a06I456lZhNSS/DMUJEf/18WyPL+wuPhamgbLdrlrY961IgotPI7e+3nvj8IXEyHy/MJME2E7F7vnOW+lpsgs0sDqSzWnHD+cyOD/Wng+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