Try test CI/CD stage

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