-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
40 lines (38 loc) · 1.15 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
language: node_js
os: linux
sudo: required
dist: trusty
node_js:
- "7"
env:
global:
secure: dn0FPQ5IG4M/3kdwnyI78ElQ308Vc3QnKAvkWfwMFb8QxDqxQdnTo7AV1qTMtbLrDNkeEWIgi4nc7jmXNtvGTwOfhAULVh6606Qs5B+ezTdwzajbbFMI8SKQx/pnTojOMu8dx7V4lMoR/YWcojR0VC1IWVC62TGbSB1k5BDGgH0=
install:
- npm install --silent -g phantomjs
- npm install --silent -g casperjs
- npm install --silent -g slimerjs
- npm install --silent -g gl
services:
- docker
addons:
firefox: "51.0"
apt:
packages:
- mesa-utils
- xvfb
- libgl1-mesa-dri
- libglapi-mesa
- libosmesa6
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- export SLIMERJSLAUNCHER=/home/travis/firefox-51.0/firefox/firefox
- export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/
script:
- echo "Current time :$(date +"%T")"
- cd $TRAVIS_BUILD_DIR/tests
- echo "$TRAVIS_BRANCH"
- docker build -t="geppetto-neuron_pip" https://github.com/MetaCell/NEURON-UI.git#interface:Dockerfile_pip/
- echo "Current time :$(date +"%T")"
- docker build -t="geppetto-neuron" https://github.com/MetaCell/NEURON-UI.git#interface:Dockerfile/
- echo "Current time :$(date +"%T")"