diff --git a/.travis.yml b/.travis.yml index 27836d2..d17c78f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,19 +21,25 @@ matrix: addons: homebrew: 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 before_install: - curl -s "https://get.sdkman.io" | bash - 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: - - 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/ + - |- + 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: - (cd test && cucumber) diff --git a/test/features/support/helpers.rb b/test/features/support/helpers.rb index ba1ce4e..99cad9e 100644 --- a/test/features/support/helpers.rb +++ b/test/features/support/helpers.rb @@ -44,6 +44,7 @@ def run_bash_command(cmd) raise "Bash command failed: #{out}" end + puts File.readlines(files[:env]) # TODO remove { status: File.read(files[:status]).to_i, stdout: File.readlines(files[:stdout]),