Skip to content

Commit

Permalink
V3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Dec 21, 2015
1 parent eeae720 commit b0a18ea
Show file tree
Hide file tree
Showing 21 changed files with 7,349 additions and 7,537 deletions.
12 changes: 12 additions & 0 deletions .gitattributes
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
9 changes: 9 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../../../.jshintrc",
"globals": {
"$": false,
"console": false,
"Modernizr": false,
"Headroom": false
}
}
87 changes: 44 additions & 43 deletions .travis.yml
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
Loading

0 comments on commit b0a18ea

Please sign in to comment.