Skip to content
Snippets Groups Projects

Testci

Merged David Dorchies requested to merge testci into master
4 files
+ 80
3
Compare changes
  • Side-by-side
  • Inline
Files
4
.gitlab-ci.yml 0 → 100644
+ 77
0
stages:
- jalhyd
- install
#- test
- build
- release-android
- release-linux
variables:
LC_ALL: C.UTF-8
cache:
paths:
- node_modules/
jalhyd:
stage: jalhyd
only:
- tags
- schedules
- web
script:
- export JALHYD_BRANCH=`cat jalhyd_branch`
- echo "Branche JalHyd - $JALHYD_BRANCH"
- cd ..
- rm -rf jalhyd
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.irstea.fr/cassiopee/jalhyd.git
- cd jalhyd
- git checkout "$JALHYD_BRANCH"
- npm install
- npm run build
install:
stage: install
only:
- tags
- schedules
- web
script:
- rm -rf node_modules
- npm install
build:
stage: build
only:
- tags
- schedules
- web
script:
- npm run build
# test:
# stage: test
# only:
# - tags
# - schedules
# - web
# script:
# - npm run e2e
release-android:
stage: release-android
only:
- tags
- schedules
- web
script:
- npm run release-android
release-linux:
stage: release-linux
only:
- tags
- schedules
- web
script:
- npm run release-linux
Loading