mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Another try fixing phantom
This commit is contained in:
parent
938e940366
commit
f902e3b8ce
10
.travis.yml
10
.travis.yml
|
@ -1,7 +1,7 @@
|
||||||
addons:
|
addons:
|
||||||
hosts:
|
hosts:
|
||||||
- localhost
|
- localhost
|
||||||
sudo: required
|
sudo: false
|
||||||
|
|
||||||
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
|
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
|
||||||
language: php
|
language: php
|
||||||
|
@ -19,10 +19,10 @@ env:
|
||||||
# execute any number of scripts before the test run, custom env's are available as variables
|
# execute any number of scripts before the test run, custom env's are available as variables
|
||||||
before_script:
|
before_script:
|
||||||
# - php -S localhost:8000 &
|
# - php -S localhost:8000 &
|
||||||
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
|
- mkdir travis-phantomjs
|
||||||
- tar -xjf phantomjs-2.0.0-ubuntu-12.04.tar.bz2
|
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
|
||||||
- sudo rm -rf /usr/local/phantomjs/bin/phantomjs
|
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
|
||||||
- sudo mv phantomjs /usr/local/phantomjs/bin/phantomjs
|
- export PATH=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH
|
||||||
- phantomjs --webdriver=4444 &
|
- phantomjs --webdriver=4444 &
|
||||||
- sleep 10
|
- sleep 10
|
||||||
- touch database/testing.sqlite
|
- touch database/testing.sqlite
|
||||||
|
|
Loading…
Reference in a new issue