.gitlab-ci.yml 396 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
stages:
  - build
  - tests

build:
  stage: build
  script:
    - cd ..
    - echo "setwd(\"$(pwd)\")" > .Rprofile
    - R CMD build airgr
    - mv *.tar.gz airgr/
  artifacts:
    untracked: true
    expire_in: 1 week

check_not_cran:
  stage: tests
  script:
    - echo "setwd(\"$(pwd)\")" > .Rprofile
20
    - echo "Sys.setenv(NOT_CRAN = \"true\")" >> .Rprofile
21
    - R CMD check airGR_*.tar.gz