aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-04-28 13:31:51 +0300
committerValentin Popov <info@valentineus.link>2019-04-28 13:31:51 +0300
commit0fe3b14f291fe6e680ea33cc277904ff9d69c5d2 (patch)
tree45b223934b07583314e2bcae2db0c80102038796
parent0cdfc1b1cf8d9c17940803c2bb7ae420b880088b (diff)
downloadlocal_webhooks-0fe3b14f291fe6e680ea33cc277904ff9d69c5d2.tar.xz
local_webhooks-0fe3b14f291fe6e680ea33cc277904ff9d69c5d2.zip
Fixed errors CI config
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--.travis.yml37
1 files changed, 12 insertions, 25 deletions
diff --git a/.travis.yml b/.travis.yml
index 101f302..44eb1b6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,10 +4,13 @@ sudo: true
addons:
firefox: "latest-esr"
postgresql: "9.6"
+
apt:
packages:
- - "oracle-java8-installer"
- - "oracle-java8-set-default"
+ - "mysql-client-5.6"
+ - "mysql-client-core-5.6"
+ - "mysql-server-5.6"
+ - "openjdk-8-jre-headless"
cache:
directories:
@@ -15,13 +18,17 @@ cache:
- "$HOME/.npm"
php:
- - 7.0
- - 7.1
- - 7.2
+ - "7.0"
+ - "7.1"
+ - "7.2"
env:
global:
+ - MOODLE_BRANCH=MOODLE_33_STABLE
+ - MOODLE_BRANCH=MOODLE_34_STABLE
- MOODLE_BRANCH=MOODLE_35_STABLE
+ - MOODLE_BRANCH=MOODLE_36_STABLE
+
matrix:
- DB=mysqli
- DB=pgsql
@@ -49,23 +56,3 @@ script:
- moodle-plugin-ci grunt
- moodle-plugin-ci phpunit
- moodle-plugin-ci behat
-
-jobs:
- include:
- - stage: deploy
- php: 7.2
-
- before_deploy:
- - cd "$TRAVIS_REPO_SLUG"
- - git stash --all
- - /bin/sh build.sh
-
- deploy:
- api_key: $GITHUB_PROJECT_TOKEN
- email: "info@valentineus.link"
- file: "build/*.zip"
- file_glob: true
- provider: releases
- skip_cleanup: true
- on:
- tags: true \ No newline at end of file