From 0e9f352a674a18ea3f2a70d87ed69cc41a0e1624 Mon Sep 17 00:00:00 2001 From: wolf4ood Date: Sat, 22 May 2021 23:09:16 +0200 Subject: [PATCH] removed travis config --- .travis.yml | 62 ---------------------------------------------------- ci/script.sh | 9 -------- 2 files changed, 71 deletions(-) delete mode 100644 .travis.yml delete mode 100755 ci/script.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a087e46..0000000 --- a/.travis.yml +++ /dev/null @@ -1,62 +0,0 @@ -language: rust -sudo: required -services: - - docker - - -rust: - - stable - - nightly - - -addons: - apt: - packages: - - libcurl4-openssl-dev - - libelf-dev - - libdw-dev - - cmake - - gcc - - binutils-dev - - libiberty-dev - - -matrix: - allow_failures: - - rust: nightly - -env: - - ORIENTDB_VERSION=3.0.31 - - ORIENTDB_VERSION=3.1.0 - -before_install: - - rustup component add rustfmt - - cargo fmt --all -- --check - -script: - - bash ci/script.sh - - -before_script: - - docker-compose -f docker-compose/docker-compose.yaml up -d - -after_script: - - docker-compose -f docker-compose/docker-compose.yml down --remove-orphans - - - -after_success: | - wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && - tar xzf master.tar.gz && - cd kcov-master && - mkdir build && - cd build && - cmake .. && - make && - make install DESTDIR=../../kcov-build && - cd ../.. && - rm -rf kcov-master && - for file in target/debug/orient_*; do [ -x "${file}" ] || continue; mkdir -p "target/cov/$(basename $file)"; ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done && - for file in target/debug/orientdb_*; do [ -x "${file}" ] || continue; mkdir -p "target/cov/$(basename $file)"; ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done && - bash <(curl -s https://codecov.io/bash) && - echo "Uploaded code coverage" \ No newline at end of file diff --git a/ci/script.sh b/ci/script.sh deleted file mode 100755 index 247aea7..0000000 --- a/ci/script.sh +++ /dev/null @@ -1,9 +0,0 @@ -cd orientdb-client -if [[ $TRAVIS_RUST_VERSION == "stable" ]]; then - cargo test --all --features=async-std-runtime,uuid,sugar - cargo test --all --features=tokio-runtime,uuid,sugar -elif [[ $TRAVIS_RUST_VERSION == "nightly" ]]; then - cargo test --all --features=async-std-runtime,uuid,sugar - cargo test --all --features=tokio-runtime,uuid,sugar -fi -cd .. \ No newline at end of file