Commit 4fac8d23 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

replacing content of gitlab yml

parent 371c03af
stages:
- test
- deploy
before_script:
- npm prune
- npm install
- bower prune --allow-root
- bower install --allow-root
cache:
paths:
- node_modules/
paths:
- bower_components/
key: "$CI_BUILD_REPO"
- node_modules/
before_script:
- ruby -v
- apt-get update -y
- apt-get install -y libssl-dev build-essential wget
- wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
- source /root/.bashrc
- nvm install 6.6.0
- nvm use 6.6.0
- node -v
- npm -v
- npm install
- npm install -g bower@1.7.9
- bower -v
- bower install --allow-root
- npm install -g grunt-cli@1.2.0
- npm install -g grunt@1.0.1
- grunt --version
- gem install bundler -v '1.13.2'
- bundle --version
- bundle install
- gem install jekyll -v '3.3.0'
- jekyll --version
sample_test:
stage: test
script:
- grunt build
- grunt test
- grunt jscs --force
- grunt jshint --force
pages:
stage: deploy
script:
- grunt fullbuild
artifacts:
paths:
- _site
sample_deploy:
stage: deploy
only:
- gitlab-pages
script:
- grunt build babel uglify:dist
artifacts:
paths:
- dist/
only:
- gitlab-pages
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment