mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 14:58:50 +00:00
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:
commit
c1a86eceae
1 changed files with 7 additions and 7 deletions
14
.travis.yml
14
.travis.yml
|
|
@ -1,8 +1,8 @@
|
||||||
language: c
|
language: c
|
||||||
sudo: required
|
services:
|
||||||
install: wget https://raw.githubusercontent.com/anlun/ocaml-ci-scripts/patch-1/.travis-opam.sh
|
- docker
|
||||||
script: bash -ex .travis-opam.sh
|
before_install:
|
||||||
env:
|
- docker pull anlun/compiler-workout-ci
|
||||||
- FORK_USER=anlun FORK_BRANCH=patch-1 OCAML_VERSION=4.06
|
- docker run -d -it --name compiler-workout-ci -v $(pwd):/usr/share/compiler-workout anlun/compiler-workout-ci
|
||||||
os:
|
script:
|
||||||
- linux
|
docker exec -it compiler-workout-ci sh test.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue