mirror of
https://github.com/bsima/haskell-urbit-api.git
synced 2024-08-17 14:00:31 +03:00
travis 2
This commit is contained in:
parent
e33fbf2ce6
commit
b9f8e993e5
@ -1,13 +1,13 @@
|
||||
language: nix
|
||||
before_script:
|
||||
- mkdir urbit
|
||||
- cd urbit
|
||||
- curl -O https://bootstrap.urbit.org/urbit-v0.10.8-linux64.tgz
|
||||
- tar xzf urbit-v0.10.8-linux64.tgz
|
||||
- ./urbit-v0.10.8-linux64/urbit -dF zod
|
||||
- install ./urbit-v0.10.8-linux64/urbit ~/bin
|
||||
- export PATH=~/bin:$PATH
|
||||
- ./fakezod.sh -d
|
||||
script:
|
||||
- nix-build
|
||||
- nix-shell --run "runghc ./test.hs"
|
||||
after_script:
|
||||
# kill the urbit daemon
|
||||
- ps aux|grep "\-d zod"|grep -v grep|tr -s " "|cut -f2 -d" "|xargs kill -9
|
||||
- ps aux|grep "\-dF zod"|grep -v grep|tr -s " "|cut -f2 -d" "|xargs kill -9
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
if [[ -d ./zod ]]
|
||||
then
|
||||
urbit zod
|
||||
urbit $@ zod
|
||||
else
|
||||
urbit -F zod
|
||||
urbit $@ -F zod
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user