-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
44 lines (37 loc) · 1 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
language: python
python:
- "2.7"
sudo: false # Use container-based infrastructure
cache:
directories:
- $HOME/.cache/pip # cache pip requirements
services:
- mongodb
env:
# Flask configurations
- HOST='0.0.0.0'
- PORT='5000'
- DEBUG='TRUE'
- SECRET_KEY='abc123'
- CSRF_SESSION_KEY='abc123'
# Google+, Google Auth, and Google Calendar configurations
- EVENTUM_GOOGLE_AUTH_ENABLED='FALSE'
- EVENTUM_INSTALLED_APP_CLIENT_SECRET_PATH='config/installed_app_client_secrets.json'
- EVENTUM_INSTALLED_APP_CREDENTIALS_PATH='config/installed_app_credentials.json'
- EVENTUM_CLIENT_SECRETS_PATH='config/client_secrets.json'
- EVENTUM_PRIVATE_CALENDAR_ID='[email protected]'
- EVENTUM_PUBLIC_CALENDAR_ID='[email protected]'
before_install:
# Install SCSS
- gem install sass
install:
- pip install -r config/requirements.txt
- pip install flake8
before_script:
- flake8 app/
- flake8 script/
- flake8 config
- flake8 test/
- mkdir log
script:
- nosetests