Skip to content

Commit

Permalink
Use DOCKER_TEST_IMAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Feb 12, 2019
1 parent 82bc76e commit 93d9db2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
12 changes: 3 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,14 @@ jobs:
steps: *ci_steps

test_alpine:
docker:
- image: jrei/crystal-alpine:latest
machine: true
environment:
<<: *env
TRAVIS_OS_NAME: linux
ARCH: x86_64
ARCH_CMD: linux64
steps:
- checkout
- run: echo 'export CURRENT_TAG="$CIRCLE_TAG"' >> $BASH_ENV
- run: bin/ci prepare_build
- run: make std_spec clean threads=1
- run: make crystal std_spec compiler_spec docs threads=1
- run: find samples -name "*.cr" | xargs -L 1 ./bin/crystal build --no-codegen
DOCKER_TEST_IMAGE: jrei/crystal-alpine:latest
steps: *ci_steps

test_darwin:
macos:
Expand Down
4 changes: 2 additions & 2 deletions bin/ci
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ with_build_env() {

case $ARCH in
x86_64)
export DOCKER_TEST_IMAGE="$DOCKER_TEST_PREFIX-build"
export DOCKER_TEST_IMAGE="${DOCKER_TEST_IMAGE:=$DOCKER_TEST_PREFIX-build}"
;;
i386)
export DOCKER_TEST_IMAGE="$DOCKER_TEST_PREFIX-i386-build"
export DOCKER_TEST_IMAGE="${DOCKER_TEST_IMAGE:=$DOCKER_TEST_PREFIX-i386-build}"
;;
esac

Expand Down

0 comments on commit 93d9db2

Please sign in to comment.