Permalink
Browse files

Fix travis

  • Loading branch information...
mxcl committed Oct 3, 2018
1 parent 4ff9962 commit 72f3581d6898f8e19a97f5c2d9e2d39d1bad9e21
Showing with 3,185 additions and 451 deletions.
  1. +11 −3 .travis.yml
  2. +3,174 −448 Tests/JS-A+/package-lock.json
View
@@ -65,12 +65,20 @@ install:
iOS|tvOS|macOS|watchOS)
set -e;
xcodebuild -scheme PromiseKit -target PromiseKit SWIFT_VERSION=$SWFT -quiet -destination "$DST" SWIFT_TREAT_WARNINGS_AS_ERRORS=YES build;
set +e;
if [ "$TEST" == "1" ]; then
pushd Tests/JS-A+;
npm ci || npm i;
set -e;
npm install -g npm;
set +e;
cd Tests/JS-A+;
set -ex;
npm ci;
npm run build;
popd;
set +ex;
cd ../..;
set -e;
xcodebuild -scheme PromiseKit -quiet -destination "$DST" build;
set +e;
fi;;
*)
swift build -Xswiftc -swift-version -Xswiftc $SWIFT_BUILD_VERSION;;
Oops, something went wrong.

0 comments on commit 72f3581

Please sign in to comment.