forked from open-lms-open-source/moodle-theme_snap
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
38 lines (31 loc) · 814 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
matrix:
allow_failures:
- php: 7.0
env:
global:
- MOODLE_BRANCH=MOODLE_28_STABLE
matrix:
- DB=pgsql
- DB=mysqli
sudo: false
before_install:
- composer selfupdate
- composer config -g github-oauth.github.com $GITHUB_API_TOKEN
install:
- cd ../..
- composer create-project -n moodlerooms/moodle-plugin-ci helper dev-master
- helper/bin/phing -f helper/install.xml
script:
- helper/bin/phing -f helper/script.xml PHPLint
- helper/bin/phing -f helper/script.xml PHPCopyPasteDetector
- helper/bin/phing -f helper/script.xml PHPMessDetector
- helper/bin/phing -f helper/script.xml CodeChecker
- helper/bin/phing -f helper/script.xml CSSLint
- helper/bin/phing -f helper/script.xml JSHint
- helper/bin/phing -f helper/script.xml PHPUnit