mirror of
https://github.com/ethauvin/sdkman-for-fish.git
synced 2025-04-27 21:58:11 -07:00
Polish Travis build.
This commit is contained in:
parent
7e97c4c1c1
commit
efd9cf0c0b
2 changed files with 13 additions and 6 deletions
18
.travis.yml
18
.travis.yml
|
@ -21,19 +21,25 @@ matrix:
|
||||||
addons:
|
addons:
|
||||||
homebrew:
|
homebrew:
|
||||||
packages:
|
packages:
|
||||||
- fish # --> latest, i.e. >=3.0.2
|
- fish # --> latest, i.e. >=3.1.2
|
||||||
update: true # TODO: build should be green without, but isn't
|
update: true # TODO: build should be green without, but isn't
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- curl -s "https://get.sdkman.io" | bash
|
- curl -s "https://get.sdkman.io" | bash
|
||||||
- bundle install --gemfile=test/Gemfile --no-cache
|
- bundle install --gemfile=test/Gemfile --no-cache
|
||||||
- uname -a; fish --version; sdk version; ruby --version; cucumber --version
|
- |-
|
||||||
|
uname -a;
|
||||||
|
fish --version;
|
||||||
|
{ source ~/.bash_profile || source ~/.bashrc; } && sdk version;
|
||||||
|
ruby --version;
|
||||||
|
echo "cucumber $(cucumber --version)";
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- mkdir -p "${HOME}"/.config/fish/{completions,conf.d,functions}
|
- |-
|
||||||
- cp completions/* "${HOME}"/.config/fish/completions/
|
mkdir -p "${HOME}"/.config/fish/{completions,conf.d,functions}
|
||||||
- cp conf.d/* "${HOME}"/.config/fish/conf.d/
|
cp completions/* "${HOME}"/.config/fish/completions/
|
||||||
- cp functions/* "${HOME}"/.config/fish/functions/
|
cp conf.d/* "${HOME}"/.config/fish/conf.d/
|
||||||
|
cp functions/* "${HOME}"/.config/fish/functions/
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- (cd test && cucumber)
|
- (cd test && cucumber)
|
||||||
|
|
|
@ -44,6 +44,7 @@ def run_bash_command(cmd)
|
||||||
raise "Bash command failed: #{out}"
|
raise "Bash command failed: #{out}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
puts File.readlines(files[:env]) # TODO remove
|
||||||
{
|
{
|
||||||
status: File.read(files[:status]).to_i,
|
status: File.read(files[:status]).to_i,
|
||||||
stdout: File.readlines(files[:stdout]),
|
stdout: File.readlines(files[:stdout]),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue