Commit 1fff2002 authored by Philippe Gaussier's avatar Philippe Gaussier
Browse files

Update .gitlab-ci.yml

parent da75dbc6
Pipeline #1601 failed with stage
in 14 seconds
image: node:6.10.0
# Classical image for c application
# see https://hub.docker.com/_/gcc/
image: sylvaincolomer95/promethe-ubuntu
pages:
stages:
- build
- test
before_script:
- echo "export PATH=\$PATH:\$HOME/bin_leto_prom">>~/.bashrc
- echo "export LC_ALL=C">>~/.bashrc
- source ~/.bashrc
- export PATH=$PATH:$HOME/bin_leto_prom
- export LC_ALL=C
build:
stage: build
script:
- npm install
- npm install gatsby-cli
- node_modules/.bin/gatsby build --prefix-paths
artifacts:
paths:
- public
cache:
paths:
- node_modules
- make quick_promethe
- make test
only:
- master
- master
#image: node:6.10.0
#pages:
# script:
# - npm install
# - npm install gatsby-cli
# - node_modules/.bin/gatsby build --prefix-paths
# artifacts:
# paths:
# - public
# cache:
# paths:
# - node_modules
# only:
# - master
Markdown is supported
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