Skip to content
Snippets Groups Projects
Commit 4fac8d23 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

replacing content of gitlab yml

parent 371c03af
No related branches found
No related tags found
1 merge request!21Regular merge of develop
Pipeline #8326 failed
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment