chore(.appveyor,.travis): disable leanpkg registry tests
This commit is contained in:
parent
726a5547de
commit
fb22ef0fb2
2 changed files with 19 additions and 19 deletions
|
|
@ -33,17 +33,17 @@ build_script:
|
|||
|
||||
test_script:
|
||||
- C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER/build && ctest -j4 --output-on-failure"
|
||||
# don't test packages when building nightly
|
||||
- C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER/packages &&
|
||||
if [[ ! -f ../build/nightly.sh ]]; then
|
||||
../bin/leanpkg configure &&
|
||||
for d in _target/deps/*; do (cd $d; ../../../../bin/leanpkg test || exit 1); done;
|
||||
fi"
|
||||
- C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER &&
|
||||
if [[ $UPLOAD == ON && $GH_TOKEN && $APPVEYOR_BRANCH == master ]]; then
|
||||
. build/nightly.sh &&
|
||||
bash script/deploy_nightly.sh build/lean-*-windows.zip;
|
||||
fi"
|
||||
# # don't test packages when building nightly
|
||||
# - C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER/packages &&
|
||||
# if [[ ! -f ../build/nightly.sh ]]; then
|
||||
# ../bin/leanpkg configure &&
|
||||
# for d in _target/deps/*; do (cd $d; ../../../../bin/leanpkg test || exit 1); done;
|
||||
# fi"
|
||||
# - C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER &&
|
||||
# if [[ $UPLOAD == ON && $GH_TOKEN && $APPVEYOR_BRANCH == master ]]; then
|
||||
# . build/nightly.sh &&
|
||||
# bash script/deploy_nightly.sh build/lean-*-windows.zip;
|
||||
# fi"
|
||||
|
||||
artifacts:
|
||||
- path: build\lean-*-windows.zip
|
||||
|
|
|
|||
16
.travis.yml
16
.travis.yml
|
|
@ -134,14 +134,14 @@ script:
|
|||
../src
|
||||
- make -j2
|
||||
- if [[ $TEST != OFF ]]; then yes "A" | travis_wait 60 ctest -j2 --output-on-failure; fi
|
||||
- |
|
||||
# don't test packages when building nightly
|
||||
if [[ $TEST_LEANPKG_REGISTRY == ON && -z $LEAN_VERSION_STRING ]]; then
|
||||
(cd ../packages
|
||||
if [[ $TRAVIS_OS_NAME == linux ]]; then ../bin/leanpkg add "https://github.com/leanprover/smt2_interface"; fi
|
||||
../bin/leanpkg configure
|
||||
for d in _target/deps/*; do (cd $d; ../../../../bin/leanpkg test); done)
|
||||
fi
|
||||
# - |
|
||||
# # don't test packages when building nightly
|
||||
# if [[ $TEST_LEANPKG_REGISTRY == ON && -z $LEAN_VERSION_STRING ]]; then
|
||||
# (cd ../packages
|
||||
# if [[ $TRAVIS_OS_NAME == linux ]]; then ../bin/leanpkg add "https://github.com/leanprover/smt2_interface"; fi
|
||||
# ../bin/leanpkg configure
|
||||
# for d in _target/deps/*; do (cd $d; ../../../../bin/leanpkg test); done)
|
||||
# fi
|
||||
- if [[ $UPLOAD == ON ]]; then cpack; fi
|
||||
- if [[ $UPLOAD == ON && $GH_TOKEN && $TRAVIS_PULL_REQUEST == false && $TRAVIS_BRANCH == master ]]; then (cd ..; bash script/deploy_nightly.sh build/lean-*); fi
|
||||
- cd ..
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue