From 0aa8af477add2fbfba1d0efe4a0cd5bbeee357d7 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Tue, 13 Jan 2015 21:02:00 +0900 Subject: [PATCH] Add travis support via .travis.yml and bash bootstrap script --- .travis.yml | 9 +++++++++ script/bootstrap.sh | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 .travis.yml create mode 100755 script/bootstrap.sh diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..01a20fb --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: c + +env: + - FISH_PPA=nightly-master + +before_install: + - script/bootstrap.sh + +script: fish ./spec/spec.fish diff --git a/script/bootstrap.sh b/script/bootstrap.sh new file mode 100755 index 0000000..1cfd522 --- /dev/null +++ b/script/bootstrap.sh @@ -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