mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
(#5) add travis CI with docker
dependencies are preinstalled in docker image for faster build, but this means we need to update it whenever dependencies change
This commit is contained in:
16
.travis.yml
16
.travis.yml
@@ -1,2 +1,14 @@
|
|||||||
language: nix
|
sudo: required
|
||||||
script: rm -rf .git && nix-build gf.nix
|
|
||||||
|
language: c
|
||||||
|
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- docker pull odanoburu/gf-src:3.9
|
||||||
|
|
||||||
|
script:
|
||||||
|
- |
|
||||||
|
docker run --mount src="$(pwd)",target=/home/gfer,type=bind odanoburu/gf-src /bin/bash -c "cd /home/gfer/src/runtime/c &&
|
||||||
|
autoreconf -i && ./configure && make && make install ; cd /home/gfer ; cabal install -fserver -fc-runtime --extra-lib-dirs='/usr/local/lib'"
|
||||||
|
|||||||
Reference in New Issue
Block a user