forked from uccser/codewof
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (52 loc) · 1.33 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
name: "Run test suite"
script: ./dev ci test_suite
- script: ./dev ci style
name: "Run style checker"
- stage: development deployment
script: skip
name: "Deploy development website to Google App Engine"
deploy:
- provider: script
script: bash ./infrastructure/dev-deploy/deploy-app.sh
skip_cleanup: true
on:
branch: develop
- script: skip
name: "Update Google Cloud SQL database"
deploy:
- provider: script
script: bash ./infrastructure/dev-deploy/update-content.sh
skip_cleanup: true
on:
branch: develop
- script: skip
name: "Copy static files to Google Storage Bucket"
deploy:
- provider: script
script: bash ./infrastructure/dev-deploy/deploy-static-files.sh
skip_cleanup: true
on:
branch: develop
notifications:
email: false
slack:
rooms: deptfunstuff:abJKvzApk5SKtcEyAgtswXAv
on_success: change
on_failure: change
stages:
- name: test