Skip to content

Commit 1f76033

Browse files
authored
Merge pull request #1375 from dharmin/fix-travis-build
Fix travis build browserstack issue
2 parents cd17d33 + dbc812e commit 1f76033

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

bin/.travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ before_script:
4242
- cd $PLUGIN_DIR
4343
- cp -Rf * /var/www/automation.rtmedia.me/htdocs/wp-content/plugins/rtMedia/
4444
- cd /var/www/automation.rtmedia.me/htdocs/
45-
- wp --allow-root plugin install https://downloads.wordpress.org/plugin/buddypress.4.2.0.zip
45+
- wp --allow-root plugin install https://downloads.wordpress.org/plugin/buddypress.4.3.0.zip
4646
- wp plugin activate --all
4747
- cd $PLUGIN_DIR
4848
- cd tests/codeception/tests/_data
@@ -52,7 +52,8 @@ before_script:
5252
- unzip BrowserStackLocal-linux-x64.zip
5353
- nohup ./BrowserStackLocal --key $BROWSERSTACK_ACCESS_KEY &
5454
- cd $PLUGIN_DIR/tests/codeception/
55-
- composer update
55+
# - composer update
56+
- composer install
5657
- export PATH="$PATH:/home/travis/build/rtMediaWP/rtMedia/tests/codeception/vendor/bin"
5758
## PHP_CodeSniffer
5859
- git clone https://github.com/squizlabs/PHP_CodeSniffer.git

tests/codeception/tests/acceptance.suite.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ modules:
2424
'browserstack.key': '%BROWSERSTACK_ACCESS_KEY%'
2525
'os': 'OS X'
2626
'os_version': 'mojave'
27+
'browser_version': '70'
2728
'browserstack.debug': 'true'
2829
'browserstack.networkLogs': 'true'
2930
'build': '%TRAVIS_BUILD_NUMBER%'
30-
'project': 'rtMedia Automation'
31+
'project': 'rtMedia Automation Local'
3132
'browserstack.local': 'true'
33+
'browserstack.use_w3c': 'true'
34+
'browserstack.selenium_version': '2.53.0'

0 commit comments

Comments
 (0)