]> git.lizzy.rs Git - rust.git/blobdiff - .travis.yml
Link with https instead of http
[rust.git] / .travis.yml
index e4b00e42fd11d917b82b8f9ffdb105d8e135186f..077a17e0bacef305bb1480f525b6758750055157 100644 (file)
@@ -4,7 +4,7 @@ rust: nightly
 
 os:
   - linux
-  - osx
+  # - osx # doesn't even start atm. Not sure what travis is up to. Disabling to reduce the noise
 
 sudo: false
 
@@ -16,8 +16,10 @@ env:
 
 before_install:
  - |
-    if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
-     command curl -sSL https://rvm.io/mpapis.asc | gpg --import -;
+    # work-around for issue https://github.com/travis-ci/travis-ci/issues/6307
+    # might not be necessary in the future
+    if [ "$TRAVIS_OS_NAME" == "osx" ]; then
+     command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
      rvm get stable
     fi
 
@@ -29,7 +31,7 @@ install:
 
 script:
  - PATH=$PATH:./node_modules/.bin
- - remark -f README.md > /dev/null
+ - remark -f *.md > /dev/null
  - set -e
  - cargo build --features debugging
  - cargo test --features debugging
@@ -48,9 +50,9 @@ script:
 after_success: |
   #!/bin/bash
   if [ $(uname) == Linux ]; then
-    ./.github/deploy.sh
-  # trigger rebuild of the clippy-service, to keep it up to date with clippy itself
     set -e
+    ./.github/deploy.sh
+    # trigger rebuild of the clippy-service, to keep it up to date with clippy itself
     if [ "$TRAVIS_PULL_REQUEST" == "false" ] &&
        [ "$TRAVIS_REPO_SLUG" == "Manishearth/rust-clippy" ] &&
        [ "$TRAVIS_BRANCH" == "master" ] &&