mirror of
https://github.com/ethauvin/sdkman-for-fish.git
synced 2025-04-25 13:27:10 -07:00
Adds Travis config.
This commit is contained in:
parent
e8b8b52080
commit
6f86eadfdb
2 changed files with 25 additions and 0 deletions
21
.travis.yml
Normal file
21
.travis.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
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: Test Wrapper
|
||||||
|
script: fish test/wrapper.fish
|
|
@ -1,5 +1,7 @@
|
||||||
# SDKMAN! for fish
|
# SDKMAN! for fish
|
||||||
|
|
||||||
|
[![Build Status][travis-badge]][travis-link]
|
||||||
|
|
||||||
Makes command `sdk` from [SDKMAN!] available in fish.
|
Makes command `sdk` from [SDKMAN!] available in fish.
|
||||||
Also provides auto-completion and adds binaries from installed SDKs to the PATH.
|
Also provides auto-completion and adds binaries from installed SDKs to the PATH.
|
||||||
|
|
||||||
|
@ -27,3 +29,5 @@ with `sdk` as you would expect.
|
||||||
|
|
||||||
[SDKMAN!]: https://github.com/sdkman/sdkman-cli
|
[SDKMAN!]: https://github.com/sdkman/sdkman-cli
|
||||||
[fisherman]: https://github.com/fisherman/fisherman
|
[fisherman]: https://github.com/fisherman/fisherman
|
||||||
|
[travis-link]: https://travis-ci.org/reitzig/sdkman-for-fish
|
||||||
|
[travis-badge]: https://img.shields.io/travis/reitzig/sdkman-for-fish.svg
|
Loading…
Add table
Add a link
Reference in a new issue