##// END OF EJS Templates
more dedenting
Nicholas Bollweg -
Show More
@@ -36,32 +36,32 b' before_install:'
36 - python --version
36 - python --version
37
37
38 install:
38 install:
39 - pip install pip --upgrade
39 - pip install pip --upgrade
40 - pip install setuptools --upgrade
40 - pip install setuptools --upgrade
41 - pip install -e file://$PWD#egg=ipython[test] --upgrade
41 - pip install -e file://$PWD#egg=ipython[test] --upgrade
42 - pip install trio curio
42 - pip install trio curio
43 - pip install codecov check-manifest --upgrade
43 - pip install codecov check-manifest --upgrade
44
44
45 script:
45 script:
46 - check-manifest
46 - check-manifest
47 - |
47 - |
48 if [[ "$TRAVIS_PYTHON_VERSION" == "nightly" ]]; then
48 if [[ "$TRAVIS_PYTHON_VERSION" == "nightly" ]]; then
49 # on nightly fake parso known the grammar
49 # on nightly fake parso known the grammar
50 cp /home/travis/virtualenv/python3.8-dev/lib/python3.8/site-packages/parso/python/grammar37.txt /home/travis/virtualenv/python3.8-dev/lib/python3.8/site-packages/parso/python/grammar38.txt
50 cp /home/travis/virtualenv/python3.8-dev/lib/python3.8/site-packages/parso/python/grammar37.txt /home/travis/virtualenv/python3.8-dev/lib/python3.8/site-packages/parso/python/grammar38.txt
51 fi
51 fi
52 - cd /tmp && iptest --coverage xml && cd -
52 - cd /tmp && iptest --coverage xml && cd -
53 # On the latest Python (on Linux) only, make sure that the docs build.
53 # On the latest Python (on Linux) only, make sure that the docs build.
54 - |
54 - |
55 if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
55 if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
56 pip install -r docs/requirements.txt
56 pip install -r docs/requirements.txt
57 python tools/fixup_whats_new_pr.py
57 python tools/fixup_whats_new_pr.py
58 make -C docs/ html SPHINXOPTS="-W"
58 make -C docs/ html SPHINXOPTS="-W"
59 fi
59 fi
60
60
61 after_success:
61 after_success:
62 - cp /tmp/ipy_coverage.xml ./
62 - cp /tmp/ipy_coverage.xml ./
63 - cp /tmp/.coverage ./
63 - cp /tmp/.coverage ./
64 - codecov
64 - codecov
65
65
66 matrix:
66 matrix:
67 include:
67 include:
@@ -86,14 +86,14 b' matrix:'
86 - python: nightly
86 - python: nightly
87
87
88 before_deploy:
88 before_deploy:
89 - rm -rf dist/
89 - rm -rf dist/
90 - python setup.py sdist
90 - python setup.py sdist
91 - python setup.py bdist_wheel
91 - python setup.py bdist_wheel
92
92
93 deploy:
93 deploy:
94 provider: releases
94 provider: releases
95 api_key:
95 api_key:
96 secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns=
96 secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns=
97 file: dist/*
97 file: dist/*
98 file_glob: true
98 file_glob: true
99 skip_cleanup: true
99 skip_cleanup: true
General Comments 0
You need to be logged in to leave comments. Login now