Fix docker builds (#9805)
* move docker test logic to share/spack/qa * update Dockerfile for archlinux
This commit is contained in:
committed by
Todd Gamblin
parent
56cb691fcc
commit
60298787e4
22
.travis.yml
22
.travis.yml
@@ -202,28 +202,6 @@ services:
|
||||
|
||||
script:
|
||||
- share/spack/qa/run-$TEST_SUITE-tests
|
||||
- if [[ "$TEST_SUITE" == "docker build" ]]; then
|
||||
login_attempted=0; login_success=0;
|
||||
for config in share/spack/docker/config/* ; do
|
||||
source "$config" ;
|
||||
./share/spack/docker/build-image.sh;
|
||||
if [ "$TRAVIS_EVENT_TYPE" != "pull_request" ]; then
|
||||
if [ "$login_attempted" '=' '0' ]; then
|
||||
if echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin; then
|
||||
login_success=1;
|
||||
fi;
|
||||
login_attempted=1;
|
||||
fi;
|
||||
if [ "$login_success" '=' '1' ]; then
|
||||
./share/spack/docker/push-image.sh;
|
||||
fi
|
||||
fi
|
||||
done;
|
||||
fi
|
||||
- if [[ "$TEST_SUITE" == "unit" || "$TEST_SUITE" == "build" ]]; then
|
||||
codecov --env PYTHON_VERSION
|
||||
--required --flags "${TEST_SUITE}${TRAVIS_OS_NAME}";
|
||||
fi
|
||||
|
||||
after_success:
|
||||
- ccache -s
|
||||
|
||||
Reference in New Issue
Block a user