Merge pull request #325 from bpinto/run_tests_on_multiple_fish_versions
installing latest stable release and git built fish versionspull/2/head
commit
712c93075d
@ -1,9 +1,18 @@
|
||||
language: c
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
env:
|
||||
- FISH_PPA=nightly-master
|
||||
- FISH_PPA=nightly-master BREW_OPTIONS=--HEAD
|
||||
|
||||
before_install:
|
||||
- script/bootstrap.sh
|
||||
|
||||
script: script/run-tests.fish
|
||||
|
||||
notifications:
|
||||
email:
|
||||
on_success: never
|
||||
on_failure: change
|
||||
|
@ -1,6 +1,12 @@
|
||||
#!/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
|
||||
|
||||
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
||||
ppa=ppa:fish-shell/$FISH_PPA
|
||||
sudo add-apt-repository -y $ppa
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install fish
|
||||
else
|
||||
brew install fish $BREW_OPTIONS
|
||||
fi
|
||||
|
||||
curl -L https://github.com/$TRAVIS_REPO_SLUG/raw/$TRAVIS_BRANCH/tools/install.fish | fish
|
||||
|
Loading…
Reference in New Issue