Switched to Docker for builds.

This commit is contained in:
Podkopaev Anton 2018-03-02 09:12:00 +03:00
parent 0d3cd8aa61
commit 04b9db848e

View file

@ -1,8 +1,8 @@
language: c
sudo: required
install: wget https://raw.githubusercontent.com/anlun/ocaml-ci-scripts/patch-1/.travis-opam.sh
script: bash -ex .travis-opam.sh
env:
- FORK_USER=anlun FORK_BRANCH=patch-1 OCAML_VERSION=4.06
os:
- linux
services:
- docker
before_install:
- docker pull anlun/compiler-workout-ci
- docker run -d -it --name compiler-workout-ci -e "TRAVIS_COMMIT=$TRAVIS_PULL_REQUEST_BRANCH" anlun/compiler-workout-ci
script:
docker exec -it compiler-workout-ci sh test.sh