From cf05684eaaf84ad720d672204b36c4df7ef58275 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Fri, 10 Jul 2020 12:45:18 +1200 Subject: [PATCH] Use moodlehq version of travis. --- .travis.yml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index cc3c55e..e142734 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,12 @@ language: php -sudo: required - -services: - - mysql - addons: postgresql: "9.5" - firefox: "47.0.1" - apt: - packages: - - openjdk-8-jre-headless - - chromium-chromedriver +services: + - mysql + - postgresql + - docker cache: directories: @@ -33,12 +27,12 @@ env: before_install: - phpenv config-rm xdebug.ini - - nvm install 14.0 - - nvm use 14.0 + - nvm install 14.0.0 + - nvm use 14.0.0 - cd ../.. - - composer create-project -n --no-dev --prefer-dist blackboard-open-source/moodle-plugin-ci ci ^2 + - composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^2 - export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" - - PATH=$(echo "$PATH" | sed -e 's/:\/usr\/local\/lib\/jvm\/openjdk11\/bin//') JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 + - docker run -d -p 127.0.0.1:4444:4444 --net=host --shm-size=2g -v $HOME/build/moodle:$HOME/build/moodle selenium/standalone-firefox:2.53.1 install: - moodle-plugin-ci install @@ -54,4 +48,4 @@ script: - moodle-plugin-ci grunt - moodle-plugin-ci phpdoc - moodle-plugin-ci phpunit - - moodle-plugin-ci behat + - moodle-plugin-ci behat \ No newline at end of file