.gitlab-ci.yml 300 Bytes
Newer Older
Nicolas Lenz's avatar
CI  
Nicolas Lenz committed
1
2
image: r-base

Nicolas Lenz's avatar
CI    
Nicolas Lenz committed
3
build:
Nicolas Lenz's avatar
CI    
Nicolas Lenz committed
4
  stage: build
Nicolas Lenz's avatar
CI  
Nicolas Lenz committed
5
6
7
8
9
  script:
    - echo 'install.packages("colorspace")' | Rscript -
    - ./palette.r
  artifacts:
    paths:
Nicolas Lenz's avatar
CI    
Nicolas Lenz committed
10
11
12
13
14
15
16
17
18
19
      - plot.png

pages:
  stage: deploy
  script:
    - mkdir public
    - mv plot.png public
  artifacts:
    paths:
      - public
Nicolas Lenz's avatar
CI  
Nicolas Lenz committed
20
  only:
Nicolas Lenz's avatar
CI    
Nicolas Lenz committed
21
    - master