.gitlab-ci.yml 631 Bytes
Newer Older
Philippe Gaussier's avatar
Philippe Gaussier committed
1
2
# Classical image for c application
# see https://hub.docker.com/_/gcc/
Philippe Gaussier's avatar
Philippe Gaussier committed
3
# https://hub.docker.com/r/sylvaincolomer95/promethe-ubuntu
Philippe Gaussier's avatar
Philippe Gaussier committed
4
image: sylvaincolomer95/promethe-ubuntu
GitLab's avatar
GitLab committed
5

Philippe Gaussier's avatar
Philippe Gaussier committed
6
7
8
9
10
11
12
13
14
15
16
stages:
  - build
  - test

before_script:
    - echo "export LC_ALL=C">>~/.bashrc
    - source ~/.bashrc
    - export LC_ALL=C

build:
  stage: build
GitLab's avatar
GitLab committed
17
  script:
Philippe Gaussier's avatar
Philippe Gaussier committed
18
    - make
Philippe Gaussier's avatar
Philippe Gaussier committed
19
    - make test
GitLab's avatar
GitLab committed
20
  only:
Philippe Gaussier's avatar
Philippe Gaussier committed
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
    - 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