1111before_install :
1212- sudo apt-get install -y xserver-xorg-dev libxext-dev libxi-dev
1313install :
14- - git clone --quiet https://github.com/MetaCell/geppetto-netpyne.git
15- - cd geppetto-netpyne
16- - if [ `git branch -a | egrep "remotes/origin/${TRAVIS_BRANCH}"` ]; then git checkout $TRAVIS_BRANCH ; else echo "Branch $TRAVIS_BRANCH does not exist for the dependent bundle, checking out development ..." && git checkout development; fi
17- - cd ..
18- - npm install --silent -g phantomjs
19- - npm install --silent -g casperjs
20- - npm install --silent -g slimerjs
21- - npm install --silent -g gl
14+ # - git clone --quiet https://github.com/MetaCell/geppetto-netpyne.git
15+ # - cd geppetto-netpyne
16+ # - if [ `git branch -a | egrep "remotes/origin/${TRAVIS_BRANCH}"` ]; then git checkout $TRAVIS_BRANCH ; else echo "Branch $TRAVIS_BRANCH does not exist for the dependent bundle, checking out development ..." && git checkout development; fi
17+ # - cd ..
18+ # - npm install --silent -g phantomjs
19+ # - npm install --silent -g casperjs
20+ # - npm install --silent -g slimerjs
21+ # - npm install --silent -g gl
2222python :
23- - " 2.7"
24- - " 3.5"
23+ - " 3.7"
2524edge : true
2625notifications :
2726 slack : metacell:5ALSeoP88DqIhORUJvxE56sq
2827services :
2928 - docker
3029addons :
31- firefox : " 58.0"
30+ # firefox: "58.0"
3231 apt :
3332 packages :
3433 - mesa-utils
@@ -45,32 +44,32 @@ before_script:
4544
4645script :
4746 - travis_retry docker build -t="netpyne-ui" --build-arg branch=$TRAVIS_BRANCH -f="./Dockerfile_dev" .
48- - travis_retry docker run -t -dit --name=netpyne-ui_container -h localhost -p 8888:8888 netpyne-ui:latest
49- - cd $TRAVIS_BUILD_DIR/ && ls
50- - cd geppetto-netpyne && ls
51- - cd tests
52- - bash utilities/netpyne-server-status.sh
53- - sleep 30
54- - http_status=$(curl -s -I $1 http://localhost:8888/geppetto | grep HTTP/1.1 | awk {'print $2'})
55- - echo "$http_status"
56- - while [ "$http_status" == "404" ]; do
57- echo "Restart run";
58- echo "Printing logs for debugging purposes";
59- docker stop $(docker ps -a -q);
60- docker rm $(docker ps -a -q);
61- docker run -t -dit --name=netpyne-ui_container -h localhost -p 8888:8888 netpyne-ui:latest
62- bash utilities/netpyne-server-status.sh
63- sleep 30;
64- http_status=$(curl -s -I $1 http://localhost:8888/geppetto | grep HTTP/1.1 | awk {'print $2'})
65- echo "Done restarting";
66- echo "$http_status";
67- done;
68- - http_status=$(curl -s -I $1 http://localhost:28081 | grep HTTP/1.1 | awk {'print $2'})
69- - echo "$http_status";
70- - " curl -s -I $1 http://localhost:8888/geppetto | grep HTTP/1.1 | awk {'print $2'}"
71- - firefox --version
72- - travis_retry xvfb-run -a --server-args="-screen 0 1024x768x24" casperjs test netpyne-tests.js --host=http://localhost:8888/ --engine=slimerjs
73- - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
74- - docker logs -t netpyne-ui_container
75- - docker stop $(docker ps -a -q)
76- - docker rm $(docker ps -a -q)
47+ # - travis_retry docker run -t -dit --name=netpyne-ui_container -h localhost -p 8888:8888 netpyne-ui:latest
48+ # - cd $TRAVIS_BUILD_DIR/ && ls
49+ # - cd geppetto-netpyne && ls
50+ # - cd tests
51+ # - bash utilities/netpyne-server-status.sh
52+ # - sleep 30
53+ # - http_status=$(curl -s -I $1 http://localhost:8888/geppetto | grep HTTP/1.1 | awk {'print $2'})
54+ # - echo "$http_status"
55+ # - while [ "$http_status" == "404" ]; do
56+ # echo "Restart run";
57+ # echo "Printing logs for debugging purposes";
58+ # docker stop $(docker ps -a -q);
59+ # docker rm $(docker ps -a -q);
60+ # docker run -t -dit --name=netpyne-ui_container -h localhost -p 8888:8888 netpyne-ui:latest
61+ # bash utilities/netpyne-server-status.sh
62+ # sleep 30;
63+ # http_status=$(curl -s -I $1 http://localhost:8888/geppetto | grep HTTP/1.1 | awk {'print $2'})
64+ # echo "Done restarting";
65+ # echo "$http_status";
66+ # done;
67+ # - http_status=$(curl -s -I $1 http://localhost:28081 | grep HTTP/1.1 | awk {'print $2'})
68+ # - echo "$http_status";
69+ # - "curl -s -I $1 http://localhost:8888/geppetto | grep HTTP/1.1 | awk {'print $2'}"
70+ # - firefox --version
71+ # - travis_retry xvfb-run -a --server-args="-screen 0 1024x768x24" casperjs test netpyne-tests.js --host=http://localhost:8888/ --engine=slimerjs
72+ # - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
73+ # - docker logs -t netpyne-ui_container
74+ # - docker stop $(docker ps -a -q)
75+ # - docker rm $(docker ps -a -q)
0 commit comments