Update Deploy Script
This commit is contained in:
parent
68b99517fe
commit
18109c2a40
|
@ -17,11 +17,8 @@ before_script:
|
|||
- "flake8 seleniumbase/*/*/*/*.py"
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
- "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
|
||||
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
|
||||
- "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi"
|
||||
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
|
||||
- "phantomjs --version"
|
||||
- "firefox --version"
|
||||
script:
|
||||
- "pytest examples/my_first_test.py --with-selenium --browser=phantomjs"
|
||||
- "pytest examples/my_first_test.py --with-selenium --browser=firefox -s"
|
||||
|
|
Loading…
Reference in New Issue