forked from pyladies/pyladies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
35 lines (28 loc) · 858 Bytes
/
circle.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
## circleci configuration file
## additional docs at https://circleci.com/docs/config-sample
## Customize the test machine (version and environment variables)
## Current circleci default Ubuntu 14.04 and Python 2.7.11
machine:
python:
version: 2.7.11
## Customize checkout (needed if using git submodules)
## Customize dependencies
dependencies:
override:
- python2 -m pip install -U pip
- python2 -m pip install -r requirements.txt
## Customize database setup
## Customize test commands
test:
override:
- ./test_www.py > mytest.log
## Customize deployment commands
## https://circleci.com/docs/language-python
## TODO: check env variables being set correctly, directories, permissions
deployment:
production:
branch: master
commands:
- fab prep_www_deploy
- fab rsync_www
## Custom notifications