forked from uccser/cs-field-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (52 loc) · 1.28 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
sudo: required
services:
- docker
language: python
python:
- '3.6'
before_install:
# See https://github.com/travis-ci/travis-ci/issues/7940
- sudo rm -f /etc/boto.cfg
install:
- sudo docker --version
- sudo docker-compose --version
jobs:
include:
- stage: test
script: ./csfg ci load_content
- script: ./csfg ci test_general
- script: ./csfg ci test_management
- script: ./csfg ci test_backwards
if: type = pull_request
- script: ./csfg ci style
- script: ./csfg ci docs
- stage: develop deploy
script: skip
deploy:
- provider: script
script: bash ./infrastructure/dev-deploy/deploy-app.sh
skip_cleanup: true
on:
branch: develop
- script: skip
deploy:
- provider: script
script: bash ./infrastructure/dev-deploy/deploy-static-files.sh
skip_cleanup: true
on:
branch: develop
- script: skip
deploy:
- provider: script
script: bash ./infrastructure/dev-deploy/update-database.sh
skip_cleanup: true
on:
branch: develop
notifications:
email: false
slack:
rooms: deptfunstuff:abJKvzApk5SKtcEyAgtswXAv
on_success: change
on_failure: change
stages:
- name: test