-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (29 loc) · 1.66 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
sudo: false
dist: trusty
notifications:
slack:
secure: CW+HTTRGL/zYkune4nL+k5ZwkFe9aeoHMFMjRkKaROk2u9hP/swz714N7X++v+3PpevdboDttGUajMmWtiKLIH+T+l8NBOsLgqVaFGlg0CFRirAQmw/xUtqvBkQQXtHgPq8DuBekRQhNiBkL0uWJvRw4SvNuso5l9/MDLE3sS6TlAHyiMRz2b1P9ydhZseJJ3ATFpLyAvvADd+rvJnIFgcL3rgS8hXjhU3AHmXDUg+XLwjQfawGWa6xB0cckn6Kdc8dsZ3DiETWTSdu4ihtIh3xU9cv6NhfWSXasxaleBQkuTwECirG9E7+WBHDvPtNsXauPJCOEB8VT0597eJQG/I4HbX8X3Gq/VYudz9aHCc7Qs6AnleowgKA6PxAFesliniX8/fW0fvrDHzrXK+ro5GraUTkg7ifX9hcz76NrlulA5ZIBr7NvD0eVsaocbED88Qz0nwBYL/6RZQhaCCNWSbUceMeImm7wkcudSl0nZDxx5xfjBqRc92Uzq0uO+wJs6T7VWC/5uv2u6iyJVId1rUPqquig4j9LuXSYbU1zJua2u+Jdbo8uvpupGele7Rw1tVVrKpJzXYG/Do4+nh3amWl7cthT1XsPuQFUxoNc1q+8ryAVSAf5ADxKJ2w0iGdlPDgHPTZ2XTSHsPuBgcEbjHAHPnjfpAWPopz0+sRilGU=
branches:
only:
- master
before_install:
# Docker
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y install docker-ce
# Docker Compose
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
install:
- cd $TRAVIS_BUILD_DIR
- docker-compose up --build -d
script:
- docker-compose exec frontend_webapp yarn test:ci
- $TRAVIS_BUILD_DIR/scripts/loop-ping-server.sh
- docker-compose exec frontend_webapp yarn e2e:ci
- docker-compose exec frontend_webapp yarn lint
- docker-compose exec webserver python3 manage.py loaddata dump.json
- docker-compose logs