You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
522 B

machine:
timezone: America/Chicago
services:
- docker
dependencies:
cache_directories:
- ~/docker
override:
- '[[ -e ~/docker/image2.tar ]] && docker load -i ~/docker/image2.tar || true'
- '[[ -e ~/docker/image2.tar ]] || docker build --rm=false -t antergos/ci-ubuntu build/ci'
- '[[ -e ~/docker/image2.tar ]] || mkdir -p ~/docker; docker save antergos/ci-ubuntu > ~/docker/image2.tar'
test:
override:
- docker run -v ${PWD}:/build:rw antergos/ci-ubuntu /bin/bash -c "make -j1 install"