Files
dvc/functest/test-import.sh
T
Ruslan Kuprieiev 0f45afb3a4 functest: rework test system and introduce new tests
Reworked existing tests and test-system, added a few new
tests(init, reworked repro, import).

Fixes #175

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-08-20 09:32:32 +03:00

27 lines
566 B
Bash
Executable File

#!/bin/bash
set -e
source common.sh
dvc_create_repo
dvc_info "Import from local file"
dvc import $DATA_CACHE/Tags.xml data/local
dvc_check_files "data/local"
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
dvc_info "Import from s3 url"
dvc config aws.region $REGION
dvc import s3://dataversioncontrol/functests/stackoverflow_raw_small/Tags.xml data/s3
dvc_check_files "data/s3"
fi
dvc_pass