XBackBone/.travis.yml
Pietro Marangon 3cb4ca790c Fix & improvements (#2)
* New .gitignore
Added violinist.io configuration
Start with CI
Started moving CSS/JS to NPM

* Fix & improvements
Security improves (SHA256 instead of MD5) and new PHP7 random function
Security fix admin check from database instead of session
Security fix user active for every page that require login
UX fix admin cannot demote himself
Added Gruntfile.js
Updated composer.json dependency
Addeded PHP >=7.1 to composer.json
Moved static file to src

* Results of .gitignore "static/"

* Fix migration for admin user_code

* Travis test for grunt (JS)

* Changed user_code generation method
Updated Travis test
2018-06-02 22:32:14 +02:00

35 lines
No EOL
1.2 KiB
YAML

notifications:
on_success: never
on_failure: always
matrix:
include:
- language: php
php:
- '7.1'
# Remove comment on if unit test ready
#before_script:
# - if find . -name "*.php" ! -path "./vendor/*" -exec php -l {} \; | grep "Fatal error"; then exit 1; fi
# - composer self-update
# - composer install --prefer-source --no-interaction --dev
script:
# Remove on if unit test ready
- if find . -name "*.php" ! -path "./vendor/*" -exec php -l {} \; | grep "Fatal error"; then exit 1; fi
- language: php
php:
- '7.2'
# Remove comment on if unit test ready
#before_script:
# - if find . -name "*.php" ! -path "./vendor/*" -exec php -l {} \; | grep "Fatal error"; then exit 1; fi
# - composer self-update
# - composer install --prefer-source --no-interaction --dev
script:
# Remove on if unit test ready
- if find . -name "*.php" ! -path "./vendor/*" -exec php -l {} \; | grep "Fatal error"; then exit 1; fi
- language: node_js
node_js:
- "lts/*"
before_script:
- npm install grunt-cli -g
script:
- grunt test