mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
Reworked existing tests and test-system, added a few new tests(init, reworked repro, import). Fixes #175 Signed-off-by: Ruslan Kuprieiev <[email protected]>
27 lines
566 B
Bash
Executable File
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
|