Try test CI/CD stage

Canadian-Provinces-Territories-Award-Layer
Paul Traina 2020-11-07 16:33:36 -08:00
rodzic 6672eb845a
commit 06edc49de6
1 zmienionych plików z 12 dodań i 7 usunięć

Wyświetl plik

@ -17,13 +17,14 @@ default:
# - echo "After script section" # - echo "After script section"
# - echo "For example you might do some cleanup here" # - echo "For example you might do some cleanup here"
build1: build:
stage: build stage: build
only: only:
- tags - tags
artifacts: artifacts:
paths: paths:
- build/* - build/*
expire_in: 1 week
script: script:
- dpkg --add-architecture i386 - dpkg --add-architecture i386
- apt-get update - apt-get update
@ -38,12 +39,16 @@ build1:
- npm run dist - npm run dist
- (cd package.nw/dist ; mv *.zip *.exe *.7z *.json ../../build) - (cd package.nw/dist ; mv *.zip *.exe *.7z *.json ../../build)
# test1: test:
# stage: test stage: test
# script: script:
# - echo "Do a test here" - npm install
# - echo "For example run a test suite" - npm test
# only:
- branches
except:
- master
# test2: # test2:
# stage: test # stage: test
# script: # script: