This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
48 lines (48 loc) · 3.02 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
language: python
python:
- '3.6.6'
addons:
# firefox: "56.0"
chrome: stable
before_install:
- sudo apt-get install xvfb
before_script:
- wget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- sudo mv chromedriver /usr/bin
- sudo chmod a+x /usr/bin/chromedriver
services:
- xvfb
install:
- pip install -r requirements.txt
- pip install -r docs/requirements.txt
- python manage.py collectstatic --noinput
script:
# - python manage.py test app # Do not remove this line, this is for integration tests.
- cd docs
- make html
- cd ..
cache: pip
notifications:
email: false
slack:
secure: iGDu26rpYK6k4AGGh5YBilBOkvZEVBVNE6xH/pC8Y/1nDm14nRHkNIJ3JSlv4hDUKrhiYesIPja/u/ZX8sWlA+BW6BlykO0726HYQ5Ii/udh3OiZmNXBv/IDI45xfe6zf5bMxZzb+WhUVgcdN64Yr2z+qM3y9nmH2mc8yH/ci8u12mKB9i/NoDduvlfCqF74qfmMw5dHFTXsUKeazale3NvY2ZxZsil+D1lF6EZ3LaddBjkESxfFVdG8JgbD0zOD+B59Xxz21R/F9+2eWNiPOwayHt5D0hESiWyjFhQ0J0Ft1WhZ90jo/shkj0/05BKbMVFMEwsdLhTZXNy1LeMqA8y5LIyVM818GApxYsQ2HvGe1dKDWTxXD9k2n3/io8iRC8ZFBPdaZE1hQnKc3dDtkh1CP7ehxo2otFZA9TF0Oj7h081XeqBtjhSVxNVjhzuLwfVgFlXexm63i4xh5bRwkpppZdmjZD1vCPZHZnJyh4s1ESkcsiJ1PS4jyoMe81/zQ76qXdFi5eTCaApkP2t5CBjbFeUaCUus8MS+WyRScK340bF4KHzbkHgE3H+lAkI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qBfzaTCkeHMu0NFzwDGTVanvH1O16gHvY6v0YG6KG2xCsRYbZp/ncmIwmUA1iwVLOISxLDyZf3zlmkT1eubuoCiHdEQ1541dpdJj17JzwVm4eBjv7AdUPws4bSN+rBEyM4WxHf2dSiv4630coZTgekMxG3Z25w98kcgWwGvO4A0l5lPxNYrrc3NHvdHaMGuX8WUIb94DjT5WCXLJU9KI16KNO7YMvRnD6+jvjgi0xCUucLZR5+UEpk19y3THyu2jqs7xPQzUidAfhttkUbJYtUaAnvxIGeNJgm6buZRXhuBfLfi38MKW+ucsbpR8/ORws0gilzkkp0ik74h/xy62fFVupAaTJlYpgPj/RV80xwfPTi7r3rXMAJqrNsSqIOrAvFgq0DM46nMicvwp/jHDW5liec7ZBaLHeEukmW3g=
app:
master: cam2webui-staging
release: cam2webui
- provider: pages
skip_cleanup: true
local_dir: docs/_build/html
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
keep-history: true
on:
branch: master
after_deploy:
- "python manage.py makemigrations"
- "python manage.py migrate"