Merge pull request #302 from bucaran/travis

Add travis support via .travis.yml and bash bootstrap script.
This commit is contained in:
Bruno 2015-01-13 13:35:04 -02:00
commit 1f9a51c3f6
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