From 0c85c87f11bc0ff37440d65d9a03015b00eefc45 Mon Sep 17 00:00:00 2001 From: Dima Kudosh Date: Sun, 26 Feb 2017 17:55:47 +0300 Subject: [PATCH 1/7] Update .travis.yml --- .travis.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 97f3d18..17172ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,21 @@ rust: - stable - beta - nightly -after_success: | - sudo apt-get install libcurl4-openssl-dev libelf-dev libdw-dev && - wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && - tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && cmake .. && make && - sudo make install && cd ../.. && - kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/difflib-* +before_script: + # load travis-cargo + - pip install 'travis-cargo<0.2' --user + - export PATH=$HOME/.local/bin/:$PATH +# the main build +script: + - travis-cargo build + - travis-cargo test + - travis-cargo bench + - travis-cargo --only stable doc +after_success: + # upload the documentation from the build with stable (automatically only + # actually runs from the master branch, not individual PRs) + - travis-cargo --only stable doc-upload + # measure code coverage and upload to coveralls.io (the verify argument + # mitigates kcov crashes due to malformed debuginfo, at the cost of some + # speed. ) + - travis-cargo coveralls --no-sudo --verify From ff85a377a1caef10dd5f0f33af63d42475c726a4 Mon Sep 17 00:00:00 2001 From: Dima Kudosh Date: Sun, 26 Feb 2017 18:02:28 +0300 Subject: [PATCH 2/7] Update .travis.yml --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 17172ac..d1bc9dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,11 @@ language: rust +addons: + apt: + packages: + - libcurl4-openssl-dev + - libelf-dev + - libdw-dev + - binutils-dev # optional: only required for the --verify flag of coveralls rust: - stable - beta From e2db972e41466a4a81aceca22cefd06d2231afd8 Mon Sep 17 00:00:00 2001 From: Dima Kudosh Date: Sun, 26 Feb 2017 18:11:50 +0300 Subject: [PATCH 3/7] Update .travis.yml --- .travis.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index d1bc9dd..257f8d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,20 +11,18 @@ rust: - beta - nightly before_script: - # load travis-cargo - pip install 'travis-cargo<0.2' --user - export PATH=$HOME/.local/bin/:$PATH -# the main build script: - travis-cargo build - travis-cargo test - travis-cargo bench - travis-cargo --only stable doc after_success: - # upload the documentation from the build with stable (automatically only - # actually runs from the master branch, not individual PRs) - travis-cargo --only stable doc-upload - # measure code coverage and upload to coveralls.io (the verify argument - # mitigates kcov crashes due to malformed debuginfo, at the cost of some - # speed. ) - travis-cargo coveralls --no-sudo --verify + + +env: + global: + - TRAVIS_CARGO_NIGHTLY_FEATURE=nightly From 49fbbb0b636856e939af6e98b354be471b5e58b6 Mon Sep 17 00:00:00 2001 From: Dima Kudosh Date: Sun, 26 Feb 2017 18:24:08 +0300 Subject: [PATCH 4/7] Update .travis.yml --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 257f8d7..6dfb632 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +sudo: false language: rust addons: apt: @@ -26,3 +27,7 @@ after_success: env: global: - TRAVIS_CARGO_NIGHTLY_FEATURE=nightly + +matrix: + allow_failures: + - rust: nightly From 4d590da030c4c484b265b47278b04319f57e9260 Mon Sep 17 00:00:00 2001 From: Dima Kudosh Date: Sun, 26 Feb 2017 18:32:17 +0300 Subject: [PATCH 5/7] Update .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 6dfb632..222b227 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,7 @@ script: after_success: - travis-cargo --only stable doc-upload - travis-cargo coveralls --no-sudo --verify + - ./kcov/build/src/kcov --verify --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/iomrascalai-* env: From 2826c989b8b4dabc837afc172c225540b8c83110 Mon Sep 17 00:00:00 2001 From: Dima Kudosh Date: Sun, 26 Feb 2017 18:36:06 +0300 Subject: [PATCH 6/7] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 222b227..8d2f799 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ script: after_success: - travis-cargo --only stable doc-upload - travis-cargo coveralls --no-sudo --verify - - ./kcov/build/src/kcov --verify --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/iomrascalai-* + - ./kcov/build/src/kcov --verify --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/difflib-* env: From 5211f2cefc87b6fac946c131a7a853a9a57cb615 Mon Sep 17 00:00:00 2001 From: Dima Kudosh Date: Sun, 26 Feb 2017 18:40:45 +0300 Subject: [PATCH 7/7] Update .travis.yml --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8d2f799..c9080ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,9 +21,7 @@ script: - travis-cargo --only stable doc after_success: - travis-cargo --only stable doc-upload - - travis-cargo coveralls --no-sudo --verify - - ./kcov/build/src/kcov --verify --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/difflib-* - + - travis-cargo coveralls --no-sudo --coveralls-id=$TRAVIS_JOB_ID --verify env: global: