diff --git a/.travis.yml b/.travis.yml index 10a0fbcc7..bb160ab31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,6 @@ install: - pip install -r test-requirements.txt - git config --global user.email "dvctester@example.com" - git config --global user.name "DVC Tester" - - mkdir -p ~/.aws && printf "[default]\naws_access_key_id = ABCDEFG\naws_secret_access_key = 123456789" > ~/.aws/credentials script: - ./unittests.sh - ./functests.sh diff --git a/functest/test-import.sh b/functest/test-import.sh index d57e1294a..dc316e006 100755 --- a/functest/test-import.sh +++ b/functest/test-import.sh @@ -14,9 +14,7 @@ dvc_info "Import from http url" dvc import $DATA_S3/Tags.xml data/http dvc_check_files "data/http" -# Temporarily disabled for travis builds, as -# they don't have aws credentials setup yet. -if [ -z $TRAVIS ]; then +if [ -z $TRAVIS_PULL_REQUEST ]; then dvc_info "Import from s3 url" dvc config aws.region $REGION dvc import s3://dataversioncontrol/functests/stackoverflow_raw_small/Tags.xml data/s3 diff --git a/functest/test-sync-aws.sh b/functest/test-sync-aws.sh index 1490ee553..23bc2d009 100755 --- a/functest/test-sync-aws.sh +++ b/functest/test-sync-aws.sh @@ -4,7 +4,7 @@ set -e source common.sh -if [ -z $TRAVIS ]; then +if [ -z $TRAVIS_PULL_REQUEST ]; then dvc_create_repo dvc_info "Setting up AWS cloud" @@ -34,8 +34,6 @@ if [ -z $TRAVIS ]; then dvc status data/xml dvc_clean_cloud_aws -else - dvc_info "AWS test is disabled for travis" fi dvc_pass