Should fix travis failure

pull/103/head
kaguillera 2020-09-24 17:50:37 -04:00
parent 95c8a413a5
commit 0469f78210
2 changed files with 4 additions and 14 deletions

View File

@ -38,7 +38,7 @@ jobs:
- "$HOME/.local/share/renv"
- "$TRAVIS_BUILD_DIR/renv/library"
script:
- bash tests/scripts/run_tests.sh
- bash tests/scripts/run_tests.sh all test
- name: Python 3.7 on macOS
os: osx
osx_image: xcode11.3

View File

@ -9,8 +9,8 @@ clean_old_data() {
rm -rf data/processed/*
rm -rf data/interim/*
# echo Backing up preprocessing...
# cp rules/preprocessing.smk bak
echo Backing up preprocessing...
cp rules/preprocessing.smk bak
}
run_periodic_pipeline() {
@ -128,7 +128,7 @@ then
else
display_usage
fi
mv bak rules/preprocessing.smk
elif [ $1 == 'all' ]
then
run_periodic_pipeline
@ -164,13 +164,3 @@ then
else
display_usage
fi
mv bak rules/preprocessing.smk
# Uncomment to return snakemake back to the original version when testing locally
# echo Cleaning up...
# mv bak rules/preprocessing.smk
# mv test_bak tests/scripts/test_sensor_features.py
# rm test_bak
# rm test_tmp
# rm bak
# rm tmp