mirror of
https://github.com/ethauvin/sdkman-for-fish.git
synced 2025-04-28 05:58:12 -07:00
Fix Travis build: run all tests for Fish 2 and 3.
This commit is contained in:
commit
ddb3b3042b
1 changed files with 14 additions and 10 deletions
22
.travis.yml
22
.travis.yml
|
@ -1,6 +1,14 @@
|
||||||
|
env:
|
||||||
|
- FISH=release-2
|
||||||
|
- FISH=release-3
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
allow_failures:
|
||||||
|
- env: FISH=release-3
|
||||||
|
|
||||||
sudo: required
|
sudo: required
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository -y ppa:fish-shell/release-2
|
- sudo add-apt-repository -y ppa:fish-shell/${FISH}
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get -y install fish
|
- sudo apt-get -y install fish
|
||||||
- curl -s "https://get.sdkman.io" | bash
|
- curl -s "https://get.sdkman.io" | bash
|
||||||
|
@ -12,12 +20,8 @@ install:
|
||||||
- cp conf.d/* "${HOME}"/.config/fish/conf.d/
|
- cp conf.d/* "${HOME}"/.config/fish/conf.d/
|
||||||
- cp functions/* "${HOME}"/.config/fish/functions/
|
- cp functions/* "${HOME}"/.config/fish/functions/
|
||||||
|
|
||||||
jobs:
|
script:
|
||||||
include:
|
- ruby test/completion.rb
|
||||||
- stage: Completion Tests
|
- fish test/wrapper.fish
|
||||||
script: ruby test/completion.rb
|
|
||||||
- stage: General Wrapper Tests
|
|
||||||
script: fish test/wrapper.fish
|
|
||||||
- stage: Ticket-specific tests
|
|
||||||
script:
|
|
||||||
- bash -c "sdk install crash 1.3.0; sdk uninstall crash 1.3.0"; fish test/10_zombies_new.fish
|
- bash -c "sdk install crash 1.3.0; sdk uninstall crash 1.3.0"; fish test/10_zombies_new.fish
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue