forked from novaway/BehatCommonContext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (26 loc) · 828 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
25
26
27
28
29
30
31
language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
matrix:
allow_failures:
- php: nightly
before_script:
- export DISPLAY=:99.0
- Xvfb $DISPLAY -extension RANDR &> /dev/null &
- curl http://selenium-release.storage.googleapis.com/3.5/selenium-server-standalone-3.5.3.jar > selenium.jar
- curl https://chromedriver.storage.googleapis.com/2.32/chromedriver_linux64.zip > chromedriver.zip
- unzip chromedriver.zip
- java -jar selenium.jar &> /dev/null &
- php -S localhost:8000 -t tests/fixtures/ &> /dev/null &
- cp behat.yml{-dist,}
- composer self-update
- composer install
script:
- ./bin/behat -fprogress
- ./bin/box build
- sed -i 's/Novaway\\CommonContexts\\Extension/nw_common_contexts.phar/' behat.yml
- ./bin/behat -fprogress