diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-24 22:56:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-24 22:56:26 +0300 |
commit | 70a1f5870ac84f557c4e8cc111db032a4bca7237 (patch) | |
tree | 645a325c7ead9874f12828a6358f598ea34f2d0a | |
parent | 3104f5547d8e4bc3a6936857abcafff9825fecd2 (diff) | |
download | spm-70a1f5870ac84f557c4e8cc111db032a4bca7237.tar.gz spm-70a1f5870ac84f557c4e8cc111db032a4bca7237.tar.bz2 spm-70a1f5870ac84f557c4e8cc111db032a4bca7237.tar.xz spm-70a1f5870ac84f557c4e8cc111db032a4bca7237.zip |
Add other commands into ci test.
-rwxr-xr-x | .ci/run.sh | 1 | ||||
-rw-r--r-- | .gitlab-ci.yml | 8 | ||||
-rw-r--r-- | scripts/include/common.sh | 4 |
3 files changed, 10 insertions, 3 deletions
@@ -2,3 +2,4 @@ cd scripts ../.ci/retry.sh $* +cd .. diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24ca6d9..2ffd1d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,10 +11,16 @@ before_script: when: always expire_in: 3 week -test:getsrc: +test:commands: stage: test script: - ./.ci/install.sh git-core bash - ./.ci/run.sh ./getsrc.sh zlib + - ls src/zlib + - ./.ci/run.sh ./build.sh zlib + - ls bin/zlib + - ./.ci/run.sh ./clean.sh zlib + - mkdir bin/zlib + - ./.ci/run.sh ./updatesrc.sh zlib image: debian:unstable <<: *job-artifacts diff --git a/scripts/include/common.sh b/scripts/include/common.sh index 9c6033f..ae5c64c 100644 --- a/scripts/include/common.sh +++ b/scripts/include/common.sh @@ -196,6 +196,6 @@ function package_update_source { } function common_clean_destination { - echo "clean ${installname}" - rm -rf "${installname}" + echo "clean ${bindir}" + rm -rf "${bindir}" } |