Clean up travis config.
@@ -12,10 +12,6 @@ rust:
os:
- linux
- osx
-addons:
- apt:
- packages:
- - python3-requests
cache:
directories:
- $HOME/.cargo
@@ -37,45 +33,7 @@ script:
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_RUST_VERSION" == "stable" ]]; then
cargo doc --all --no-deps
fi
- - |
- echo "Running Ceph integration tests"
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_RUST_VERSION" == "stable" ]]; then
- (
- export AWS_ACCESS_KEY_ID=ANTN35UAENTS5UIAEATD
- export AWS_SECRET_ACCESS_KEY=TtnuieannGt2rGuie2t8Tt7urarg5nauedRndrur
- export S3_ENDPOINT='http://localhost'
- cd integration_tests && \
- ./docker_test_run.py \
- --docker-image "ceph/demo" \
- --run-opt=--env=CEPH_DEMO_ACCESS_KEY=$AWS_ACCESS_KEY_ID \
- --run-opt=--env=CEPH_DEMO_SECRET_KEY=$AWS_SECRET_ACCESS_KEY \
- --run-opt=--env=CEPH_DEMO_UID=demo_uid \
- --run-opt=--env=MON_IP=127.0.0.1 \
- --run-opt=--env=CEPH_PUBLIC_NETWORK=0.0.0.0/0 \
- --run-opt=--hostname=localhost \
- -- cargo test --features s3,disable_ceph_unsupported
- )
- fi
- - |
- echo "Running Minio integration tests"
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_RUST_VERSION" == "stable" ]]; then
- (
- export AWS_ACCESS_KEY_ID=ANTN35UAENTS5UIAEATD
- export AWS_SECRET_ACCESS_KEY=TtnuieannGt2rGuie2t8Tt7urarg5nauedRndrur
- export S3_ENDPOINT='http://localhost:9000'
- cd integration_tests && \
- ./docker_test_run.py \
- --docker-image="minio/minio" \
- --docker-image="minio/minio:edge" \
- --port=9000 \
- --run-opt=--env=MINIO_ACCESS_KEY=$AWS_ACCESS_KEY_ID \
- --run-opt=--env=MINIO_SECRET_KEY=$AWS_SECRET_ACCESS_KEY \
- --run-opt=--env=MINIO_DOMAIN=localhost \
- --run-arg=server \
- --run-arg=/home/shared \
- -- cargo test --features s3,disable_minio_unsupported
- )
- fi
+
after_success:
# upload the documentation from the build if it's from Rust stable, Linux and not a pull request:
- |
