-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
7,349 additions
and
7,537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Set the default behavior, in case people don't have core.autocrlf set. | ||
* text eol=lf | ||
|
||
# Explicitly declare text files you want to always be normalized and converted | ||
# to native line endings on checkout. | ||
*.php text | ||
*.js text | ||
*.css text | ||
|
||
# Denote all files that are truly binary and should not be modified. | ||
*.png binary | ||
*.jpg binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": "../../../.jshintrc", | ||
"globals": { | ||
"$": false, | ||
"console": false, | ||
"Modernizr": false, | ||
"Headroom": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,44 @@ | ||
language: php | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
php: | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
|
||
matrix: | ||
allow_failures: | ||
- php: 7.0 | ||
|
||
env: | ||
global: | ||
- MOODLE_BRANCH=MOODLE_30_STABLE | ||
- IGNORE_NAMES=tc_colourpopup.php,tc_colourpopup.js | ||
matrix: | ||
- DB=pgsql | ||
- DB=mysqli | ||
|
||
before_install: | ||
- cd ../.. | ||
- composer selfupdate | ||
- composer create-project -n --no-dev moodlerooms/moodle-plugin-ci ci ^1 | ||
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" | ||
|
||
install: | ||
- moodle-plugin-ci install | ||
|
||
script: | ||
- moodle-plugin-ci phplint | ||
- moodle-plugin-ci phpcpd | ||
- moodle-plugin-ci phpmd | ||
- moodle-plugin-ci codechecker | ||
- moodle-plugin-ci csslint | ||
- moodle-plugin-ci jshint | ||
- moodle-plugin-ci phpunit | ||
language: php | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
php: | ||
# Only run the lowest and highest supported versions to reduce the load on travis-ci.org. | ||
- 5.4 | ||
# - 5.5 | ||
# - 5.6 | ||
- 7.0 | ||
|
||
matrix: | ||
allow_failures: | ||
- php: 7.0 | ||
|
||
env: | ||
global: | ||
- MOODLE_BRANCH=MOODLE_30_STABLE | ||
- IGNORE_NAMES=tc_colourpopup.php,tc_colourpopup.js | ||
matrix: | ||
- DB=pgsql | ||
- DB=mysqli | ||
|
||
before_install: | ||
- cd ../.. | ||
- composer selfupdate | ||
- composer create-project -n --no-dev moodlerooms/moodle-plugin-ci ci ^1 | ||
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" | ||
|
||
install: | ||
- moodle-plugin-ci install | ||
|
||
script: | ||
- moodle-plugin-ci phplint | ||
- moodle-plugin-ci phpcpd | ||
- moodle-plugin-ci phpmd | ||
- moodle-plugin-ci codechecker | ||
- moodle-plugin-ci csslint | ||
- moodle-plugin-ci jshint | ||
- moodle-plugin-ci phpunit |
Oops, something went wrong.