]> git.lizzy.rs Git - rust.git/blobdiff - .travis.yml
Add tests for lossy whole number float literals
[rust.git] / .travis.yml
index eac878dee512fa9d58b2e168b2afc7cbd07451af..fa02f53340174208e143b423603d27f90d7a916b 100644 (file)
@@ -26,7 +26,13 @@ env:
 
 before_install:
   - export CARGO_TARGET_DIR="$TRAVIS_BUILD_DIR/target"
-  - curl -sSL https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly --profile=minimal
+  - |
+    case "$TRAVIS_OS_NAME" in
+      linux ) HOST=x86_64-unknown-linux-gnu;;
+      osx ) HOST=x86_64-apple-darwin;;
+      windows ) HOST=x86_64-pc-windows-msvc;;
+    esac
+  - curl -sSL https://sh.rustup.rs | sh -s -- -y --default-host="$HOST" --default-toolchain=nightly --profile=minimal
   - export PATH="$HOME/.cargo/bin:$PATH"
 install:
   - |
@@ -42,7 +48,7 @@ install:
         . $HOME/.nvm/nvm.sh
         nvm install stable
         nvm use stable
-        npm install remark-cli remark-lint
+        npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended
       elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
         choco install windows-sdk-10.1
       fi
@@ -146,15 +152,3 @@ script:
     else
       ./ci/base-tests.sh && sleep 5
     fi
-
-after_success:
-  - |
-    if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
-      set -e
-      if [[ -z ${INTEGRATION} ]]; then
-        ./.github/deploy.sh
-      else
-        echo "Not deploying, because we're in an integration test run"
-      fi
-      set +e
-    fi