Skip to content

Commit

Permalink
Check if version is installed beforehand in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
nvzqz committed Jun 27, 2017
1 parent 155a3e0 commit 109b003
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
fi

for version in $SWIFT_VERSIONS; do
swiftenv install "$version"
if ! swiftenv global $version;
then swiftenv install "$version"
fi
done
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
gem install xcpretty -N
Expand Down

0 comments on commit 109b003

Please sign in to comment.