Skip to content

Commit

Permalink
Adds Travis config.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitzig committed Jul 14, 2018
1 parent e8b8b52 commit 6f86ead
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# SDKMAN! for fish

[![Build Status][travis-badge]][travis-link]

Makes command `sdk` from [SDKMAN!] available in fish.
Also provides auto-completion and adds binaries from installed SDKs to the PATH.

Expand Down Expand Up @@ -27,3 +29,5 @@ with `sdk` as you would expect.

[SDKMAN!]: https://github.com/sdkman/sdkman-cli
[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

0 comments on commit 6f86ead

Please sign in to comment.