Merge branch 'hw3docker'

* hw3docker:
  Replace git-checkout with volume mounting from Travis sandbox
  Build trigger
  Fixed environment variables passed to Docker.
  Build trigger
  Switched to Docker for builds.
This commit is contained in:
Podkopaev Anton 2018-03-06 17:59:12 +03:00
commit c1a86eceae

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 -v $(pwd):/usr/share/compiler-workout anlun/compiler-workout-ci
script:
docker exec -it compiler-workout-ci sh test.sh