haskell-urbit-api/.travis.yml
2020-10-13 10:48:17 -04:00

17 lines
489 B
YAML

language: nix
before_script:
- curl -O https://bootstrap.urbit.org/urbit-v0.10.8-linux64.tgz
- tar xzf urbit-v0.10.8-linux64.tgz
- install ./urbit-v0.10.8-linux64/urbit ~/bin
- export PATH=~/bin:$PATH
- export PORT=8080
# cleanup
- find . -name zod -type d -exec rm -rf {} \;
- ./fakezod.sh -d
script:
- nix-build
- nix-shell --run "runghc ./test.hs"
after_script:
# kill the urbit daemon
- ps aux|grep "\-dF zod"|grep -v grep|tr -s " "|cut -f2 -d" "|xargs kill -9