You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# now done in a dedicated script to capture exit code 1 and transform it to 0
60
+
- pip uninstall -y valid8 # so that the setuptools_scm test can be executed
61
+
# ***tests+coverage*** done in a dedicated script to capture exit code 1 and transform it to 0
54
62
- chmod a+x ./ci_tools/run_tests.sh
55
63
- sh ./ci_tools/run_tests.sh
56
-
- python ci_tools/generate-junit-badge.py 100 # generates the badge for the test results and fail build if less than x%
64
+
# generate the badge for the test results and fail build if less than x%
65
+
- python ci_tools/generate-junit-badge.py 100
57
66
58
67
after_success:
59
-
# ***reporting***
60
-
# - junit2html junit.xml testrun.html output is really not nice
68
+
# ***reporting***
69
+
# - junit2html junit.xml testrun.html output is really not nice
61
70
- ant -f ci_tools/generate-junit-html.xml # generates the html for the test results. Actually we dont use it anymore
62
71
- codecov
63
72
#- pylint valid8 # note that at the moment the report is simply lost, we dont transform the result into anything
@@ -78,7 +87,8 @@ after_success:
78
87
git remote add gh-remote "${GH_REF}";
79
88
git fetch gh-remote && git fetch gh-remote gh-pages:gh-pages; # make sure we have the latest gh-remote
80
89
# push but only if this is not a build triggered by a pull request
81
-
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_PYTHON_VERSION}" = "3.5" ]; then echo "Pushing to github"; PYTHONPATH=valid8/ mkdocs gh-deploy -v -f docs/mkdocs.yml --remote-name gh-remote; git push gh-remote gh-pages; fi;
90
+
# note: do not use the --dirty flag as it breaks client-side search
91
+
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${DEPLOY_ENV}" = "true" ]; then echo "Pushing to github"; PYTHONPATH=valid8/ mkdocs gh-deploy -v -f docs/mkdocs.yml --remote-name gh-remote; git push gh-remote gh-pages; fi;
82
92
else
83
93
echo "File 'ci_tools/github_travis_rsa' has not been created, please check your encrypted repo token in .travis.yml, on the line starting with 'openssl aes-256-cbc...'"
0 commit comments