Skip to content

Commit

Permalink
ci selenium seems java problem, see open-lms-open-source/moodle-plugi…
Browse files Browse the repository at this point in the history
  • Loading branch information
dionysius committed Jan 10, 2018
1 parent 7b6b507 commit 9731042
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: php

sudo: false
sudo: required

notifications:
email: false
Expand All @@ -14,7 +14,7 @@ addons:
# can be omitted because mustache is not in use
# - oracle-java8-installer
# - oracle-java8-set-default
# - chromium-chromedriver
- chromium-chromedriver

cache:
directories:
Expand Down Expand Up @@ -96,9 +96,9 @@ script:
- if [ $MPCIV == '1' ]; then moodle-plugin-ci jshint; fi
- if [ $MPCIV == '2' ]; then moodle-plugin-ci phpunit --coverage-text; fi # output code coverage in MPCIV 2
- if [ $MPCIV == '1' ]; then moodle-plugin-ci phpunit; fi
#- if [ $MPCIV == '2' ]; then moodle-plugin-ci behat --profile chrome; fi
- if [ $MPCIV == '2' ]; then moodle-plugin-ci behat --profile chrome; fi
#TODO: Swap between firefox and chrome using environment info
- if [ $MPCIV == '2' ]; then moodle-plugin-ci behat; fi # is profile firefox
#- if [ $MPCIV == '2' ]; then moodle-plugin-ci behat; fi # is profile firefox
- if [ $MPCIV == '1' ]; then moodle-plugin-ci behat || true; fi # currently not working at all
#- java -jar moodle/selenium.jar &
#- if [ $MPCIV == '1' ]; then php moodle/vendor/bin/behat --config $(pwd)/moodledata/behat_moodledata/behatrun/behat/behat.yml; fi

0 comments on commit 9731042

Please sign in to comment.