forked from nengo/nengo-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (23 loc) · 816 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
language: python
sudo: required
python:
- "2.7"
install:
- "pip install -r requirements.txt"
- "pip install -r requirements-test.txt"
before_script:
- "cd nengo_gui"
- wget http://chromedriver.storage.googleapis.com/2.20/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- "cd .."
- "python setup.py develop"
- "export DISPLAY=:99.0"
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/cucumber_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1920x1080x16
- sleep 3 # give xvfb some time to start
- "wget http://selenium.googlecode.com/files/selenium-server-standalone-2.31.0.jar"
- "java -jar selenium-server-standalone-2.31.0.jar > /dev/null &"
- "nengo_gui &"#starts up nengo_gui
- sleep 2
# command to run tests
script:
- py.test