forked from sgFlags/FlashyHackers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (32 loc) · 938 Bytes
/
.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
# Reference - https://github.com/GoogleCloudPlatform/continuous-deployment-demo/blob/appengine_travis_deploy/.travis.yml
dist: trusty
sudo: required
language: python
python:
- '3.5'
# Uncomment this section to enable sonarqube.
# Be sure to uncomment the script in the script section as well
# addons:
# sonarqube:
# organization: "" # the key of the org you chose at step #3
# token:
# secure: ""
#
# cache:
# directories:
# - '$HOME/.sonar/cache'
before_install:
- echo 'no before install'
install:
# Install the Python dependencies
- pip install -r MeetingSecretary/requirements.txt
before_script:
#before
- cp patch/widgets.py /home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/bootstrap3_datetime/widgets.py
- mysql -e 'CREATE DATABASE MeetingSecretary;'
script:
- cd MeetingSecretary
- python manage.py test --with-coverage
services:
- mysql
# - sonar-scanner