Skip to content

Commit

Permalink
Refresh travis.yml from latest blackboard-open-source/moodle-plugin-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
OdyX committed Jun 4, 2020
1 parent aa22a82 commit 2b535c3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
27 changes: 14 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
language: php

sudo: true

addons:
firefox: "47.0.1"
postgresql: "9.4"
apt:
packages:
- openjdk-8-jre-headless

services:
- postgresql
- docker

cache:
directories:
- $HOME/.composer/cache
- $HOME/.npm

php:
- 7.0
- 7.1
- 7.2
- 7.3

env:
global:
- MOODLE_BRANCH=MOODLE_35_STABLE
matrix:
- DB=pgsql
global:
- MOODLE_BRANCH=MOODLE_38_STABLE
matrix:
- DB=pgsql

before_install:
- phpenv config-rm xdebug.ini
- nvm install 8.9
- nvm use 8.9
- nvm install 14.2.0
- nvm use 14.2.0
- cd ../..
- composer create-project -n --no-dev --prefer-dist blackboard-open-source/moodle-plugin-ci ci ^2
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
- docker run -d -p 127.0.0.1:4444:4444 --net=host -v /dev/shm:/dev/shm selenium/standalone-firefox:3

install:
- moodle-plugin-ci install
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2019011800; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2020060400; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2014051200; // minimum: Moodle 2.7.
$plugin->component = 'block_disk_quota'; // Full name of the plugin (used for diagnostics).

0 comments on commit 2b535c3

Please sign in to comment.