sdkman-for-fish/.travis.yml
Raphael Reitzig debd5e2d66 Do not add uninstalled SDKs to PATH.
Fixes issue #10 pt1.
2018-07-14 22:26:38 +02:00

24 lines
No EOL
815 B
YAML

sudo: required
before_install:
- sudo add-apt-repository -y ppa:fish-shell/release-2
- sudo apt-get update
- sudo apt-get -y install fish
- curl -s "https://get.sdkman.io" | bash
- source "${HOME}"/.sdkman/bin/sdkman-init.sh
- sdk install ant 1.9.9
- echo "y" | sdk install ant 1.10.1
- sdk default ant 1.10.1
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/
jobs:
include:
- stage: General Wrapper Tests
script: fish test/wrapper.fish
- stage: Ticket-specific tests
script:
- sdk install crash 1.3.0; sdk uninstall crash 1.3.0; fish test/10_zombies_new.fish