Should fix travis failure
parent
95c8a413a5
commit
0469f78210
|
@ -38,7 +38,7 @@ jobs:
|
||||||
- "$HOME/.local/share/renv"
|
- "$HOME/.local/share/renv"
|
||||||
- "$TRAVIS_BUILD_DIR/renv/library"
|
- "$TRAVIS_BUILD_DIR/renv/library"
|
||||||
script:
|
script:
|
||||||
- bash tests/scripts/run_tests.sh
|
- bash tests/scripts/run_tests.sh all test
|
||||||
- name: Python 3.7 on macOS
|
- name: Python 3.7 on macOS
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode11.3
|
osx_image: xcode11.3
|
||||||
|
|
|
@ -9,8 +9,8 @@ clean_old_data() {
|
||||||
rm -rf data/processed/*
|
rm -rf data/processed/*
|
||||||
rm -rf data/interim/*
|
rm -rf data/interim/*
|
||||||
|
|
||||||
# echo Backing up preprocessing...
|
echo Backing up preprocessing...
|
||||||
# cp rules/preprocessing.smk bak
|
cp rules/preprocessing.smk bak
|
||||||
}
|
}
|
||||||
|
|
||||||
run_periodic_pipeline() {
|
run_periodic_pipeline() {
|
||||||
|
@ -128,7 +128,7 @@ then
|
||||||
else
|
else
|
||||||
display_usage
|
display_usage
|
||||||
fi
|
fi
|
||||||
|
mv bak rules/preprocessing.smk
|
||||||
elif [ $1 == 'all' ]
|
elif [ $1 == 'all' ]
|
||||||
then
|
then
|
||||||
run_periodic_pipeline
|
run_periodic_pipeline
|
||||||
|
@ -164,13 +164,3 @@ then
|
||||||
else
|
else
|
||||||
display_usage
|
display_usage
|
||||||
fi
|
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
|
|
||||||
|
|
Loading…
Reference in New Issue