forked from dtzinov/ggrc-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (39 loc) · 1.52 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
# Copyright (C) 2015 Google Inc., authors, and contributors <see AUTHORS file>
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
# Created By: swizec@reciprocitylabs.com
# Maintained By: swizec@reciprocitylabs.comlanguage: python
python:
- "2.7"
services: mysql
virtualenv:
system_site_packages: true
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- "wget https://commondatastorage.googleapis.com/appengine-sdks/deprecated/193/google_appengine_1.9.3.zip -nv"
- "unzip -qd src google_appengine_1.9.3.zip"
- "mv src/google_appengine/google src/"
- "sudo pip install -r src/requirements.txt"
- "sudo pip install -r src/dev-requirements.txt"
- "sudo pip install google-api-python-client"
- "sudo pip install mysql-python"
- "sudo pip install webob"
- 'gem install sass --version "=3.4.9"'
- 'gem install compass --version "=1.0.1"'
# weird travis-ci python paths
- "export PYTHONPATH=$PYTHONPATH:/usr/lib/pymodules/python2.7/"
- "export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages"
- "export PYTHONPATH=$PYTHONPATH:/usr/lib/pyshared/python2.7/"
- "export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages/"
- npm install karma karma-jasmine jasmine-core phantomjs karma-chrome-launcher
before_script:
- "source bin/init_env"
- build_compass
- build_assets
script:
- bin/run_travis_tests
- ./node_modules/karma/bin/karma start karma.conf.js --single-run
notifications:
email: false