kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Try test CI/CD stage
rodzic
6672eb845a
commit
06edc49de6
|
@ -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:
|
||||||
|
|
Ładowanie…
Reference in New Issue