File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ before_install:
32
32
- cd ../..
33
33
- composer create-project -n --no-dev --prefer-dist blackboard-open-source/moodle-plugin-ci ci ^2
34
34
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
35
- - docker run -d -p 127.0.0.1:4444:4444 --net=host -v /dev/shm:/dev/shm selenium/standalone-firefox:3
35
+ - docker run -d -p 127.0.0.1:4444:4444 --net=host -v /dev/shm:/dev/shm -v $HOME/build/moodle:$HOME/build/moodle selenium/standalone-firefox:2.53.1
36
36
37
37
install :
38
38
- moodle-plugin-ci install
Original file line number Diff line number Diff line change 23
23
- MUSTACHE_IGNORE_NAMES=broken.mustache
24
24
- DB=pgsql
25
25
- MOODLE_BRANCH=master
26
- - PROFILE=chrome
27
26
28
27
install :
29
28
- phpenv config-rm xdebug.ini
30
29
- nvm install 8.9
31
30
- nvm use 8.9
32
31
- make init
33
- # Start Selenium Standalone with Chrome/Firefox installed .
34
- - docker run -d -p 127.0.0.1:4444:4444 --net=host -v /dev/shm:/dev/shm selenium/standalone-${PROFILE} :3
32
+ # Start Selenium Standalone with Chrome.
33
+ - docker run -d -p 127.0.0.1:4444:4444 --net=host -v /dev/shm:/dev/shm -v $HOME/build/moodle:$HOME/build/moodle selenium/standalone-chrome :3
35
34
# Mimic how a Moodle plugin would be run.
36
35
- cp -R tests/Fixture/moodle-local_travis ../moodle-local_travis
37
36
- export PATH="$(cd bin; pwd):$(cd vendor/bin; pwd):$PATH"
@@ -54,7 +53,7 @@ script:
54
53
- moodle-plugin-ci grunt || [ "$MOODLE_BRANCH" != 'master' -a "$MOODLE_BRANCH" != 'MOODLE_38_STABLE' ]
55
54
- moodle-plugin-ci phpdoc
56
55
- moodle-plugin-ci phpunit --coverage-text
57
- - moodle-plugin-ci behat --profile $PROFILE
56
+ - moodle-plugin-ci behat --profile chrome
58
57
59
58
jobs :
60
59
include :
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ before_install:
69
69
# Start Selenium Standalone server with Chrome/Firefox installed. If you
70
70
# prefer to run Behat tests with Chrome profile (see Behat step details below),
71
71
# use selenium/standalone-chrome:3 image instead.
72
- - docker run -d -p 127.0.0.1:4444:4444 --net=host -v /dev/shm:/dev/shm selenium/standalone-firefox:3
72
+ - docker run -d -p 127.0.0.1:4444:4444 --net=host -v /dev/shm:/dev/shm -v $HOME/build/moodle:$HOME/build/moodle selenium/standalone-firefox:2.53.1
73
73
74
74
# This lists steps that are run for installation and setup.
75
75
install :
You can’t perform that action at this time.
0 commit comments