This repository has been archived by the owner on Sep 4, 2022. It is now read-only.
forked from lazydaisy/gologo
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
4 changed files
with
94 additions
and
0 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,24 @@ | ||
# 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 | ||
*.json text | ||
*.css text | ||
*.less text | ||
*.svg text | ||
*.txt text | ||
*.md text | ||
*.xml text | ||
|
||
# Denote all files that are truly binary and should not be modified. | ||
*.gif binary | ||
*.png binary | ||
*.jpg binary | ||
*.eot binary | ||
*.otf binary | ||
*.ttf binary | ||
*.woff binary | ||
*.woff2 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,14 @@ | ||
.DS_Store | ||
.DS_Store? | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
Icon? | ||
ehthumbs.db | ||
Thumbs.db | ||
*.psd | ||
*.bak | ||
quickpush.sh | ||
/node_modules | ||
/style/*.map | ||
/nbproject/private/ |
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
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=master | ||
# - IGNORE_PATHS=amd/build,amd/src/affix.js,amd/src/bootstrap.js,amd/src/carousel.js,amd/src/fitvids.js,amd/src/jBreadCrumb.js | ||
# Ignore custom.css until CSSlint can be instructed to ignore lines for '[[setting:customcss]]'. | ||
# Also ignore generated CSS files. | ||
- IGNORE_NAMES=*.txt,font-awesome.css,glyphicon-font.css | ||
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 |