Make test into script to clean up .gitlab-ci

This commit is contained in:
2020-05-03 02:48:28 +00:00
parent 7ad8080b84
commit ceaf0d1aaa
2 changed files with 8 additions and 3 deletions

View File

@@ -24,8 +24,7 @@ test-gcc-version:
stage: test
script:
- docker pull $CONTAINER_TEST_IMAGE
- docker run $CONTAINER_TEST_IMAGE "arm-none-eabi-gcc -v"
- docker run $CONTAINER_TEST_IMAGE tests/smoke.sh
release:
stage: release
script:
@@ -33,4 +32,4 @@ release:
- docker tag $CONTAINER_TEST_IMAGE $CONTAINER_RELEASE_IMAGE
- docker push $CONTAINER_RELEASE_IMAGE
only:
- master
- master