Add travis support via .travis.yml and bash bootstrap script

This commit is contained in:
Jorge Bucaran 2015-01-13 21:02:00 +09:00
parent bb467f75ac
commit 0aa8af477a
2 changed files with 15 additions and 0 deletions

9
.travis.yml Normal file
View File

@ -0,0 +1,9 @@
language: c
env:
- FISH_PPA=nightly-master
before_install:
- script/bootstrap.sh
script: fish ./spec/spec.fish

6
script/bootstrap.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
ppa=ppa:fish-shell/${FISH_PPA:-nightly-master}
sudo add-apt-repository -y $ppa
sudo apt-get update
sudo apt-get -y install fish
curl -L https://github.com/bpinto/oh-my-fish/raw/master/tools/install.fish | FORK=bucaran fish