sdkman-for-fish/.travis.yml
Raphael Reitzig 0d080212d2 Verify (re-)initialization of SDKMAN env vars works.
- Add new test that covers the two cases considered so far.

Housekeeping:

 - Add `.gitignore`
 - Add `.editorconfig`
2019-07-30 22:19:32 +02:00

28 lines
776 B
YAML

env:
- FISH=release-2
- FISH=release-3
matrix:
allow_failures:
- env: FISH=release-3
sudo: required
before_install:
- sudo add-apt-repository -y ppa:fish-shell/${FISH}
- sudo apt-get update
- sudo apt-get -y install fish
- curl -s "https://get.sdkman.io" | bash
- bash test/prepare_tests.sh
install:
- mkdir -p "${HOME}"/.config/fish/{completions,conf.d,functions}
- cp completions/* "${HOME}"/.config/fish/completions/
- cp conf.d/* "${HOME}"/.config/fish/conf.d/
- cp functions/* "${HOME}"/.config/fish/functions/
script:
- ruby test/completion.rb
- fish test/wrapper.fish
- fish test/reinitialize.fish
- bash -c "sdk install crash 1.3.0; sdk uninstall crash 1.3.0"; fish test/10_zombies_new.fish