Newer
Older
# specify what docker image
# go with the default image for now and mangle it
#image: ruby:2.1
php-syntax-check:
stage: test
script:
- apt-get clean
- apt-get update
- apt-get install -y php5-cli
- find components -name *.php | xargs -n 1 php -l
- find plugins -name *.php | xargs -n 1 php -l
- find lib -name *.php | xargs -n 1 php -l
js-syntax-check:
stage: test
script:
- apt-get clean
- apt-get update
- apt-get install -y npm
- ln -s /usr/bin/nodejs /usr/bin/node
- npm install -g jshint
- find htdocs/js/ -name *.js ! -name jquery* | xargs -n 1 jshint --verbose
fake-deploy-beta:
stage: deploy
script:
- echo "Hello World!"
only:
- beta
fake-deploy-live:
stage: deploy