##// END OF EJS Templates
Merge pull request #12540 from rushabh-v/cont_typo
Merge pull request #12540 from rushabh-v/cont_typo

File last commit:

r25980:26c1a61a
r26000:c4780a39 merge
Show More
.travis.yml
128 lines | 3.5 KiB | text/x-yaml | YamlLexer
Marc Abramowitz
Add .travis.yml for Travis CI (http://travis-ci.org/)
r7633 # http://travis-ci.org/#!/ipython/ipython
language: python
Min RK
use binaries for Python on mac...
r24815 os: linux
Nicholas Bollweg
add osx on 3.6 and 3.7 to travis, use addons.apt:packages for graphviz
r24800
addons:
Min RK
use binaries for Python on mac...
r24815 apt:
packages:
- graphviz
Nicholas Bollweg
add osx on 3.6 and 3.7 to travis, use addons.apt:packages for graphviz
r24800
Marc Abramowitz
Add .travis.yml for Travis CI (http://travis-ci.org/)
r7633 python:
Srinivas Reddy Thatiparthy
Add 3.6 version target
r23100 - 3.6
Nicholas Bollweg
add osx on 3.6 and 3.7 to travis, use addons.apt:packages for graphviz
r24800
Olesya Baranova
Changing files per example in Jupyter repo
r24057 env:
global:
- PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH
Nicholas Bollweg
add osx on 3.6 and 3.7 to travis, use addons.apt:packages for graphviz
r24800
Olesya Baranova
Dropping Python 3.3 due to Travis issues + adding 'group' back
r24059 group: edge
Nicholas Bollweg
add osx on 3.6 and 3.7 to travis, use addons.apt:packages for graphviz
r24800
Marc Abramowitz
Add .travis.yml for Travis CI (http://travis-ci.org/)
r7633 before_install:
Min RK
use binaries for Python on mac...
r24815 - |
# install Python on macOS
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
env | sort
if ! which python$TRAVIS_PYTHON_VERSION; then
Matthias Bussonnier
Revert "Use update brew tap to fix test failures."
r25482 HOMEBREW_NO_AUTO_UPDATE=1 brew tap minrk/homebrew-python-frameworks
Min RK
use binaries for Python on mac...
r24815 HOMEBREW_NO_AUTO_UPDATE=1 brew cask install python-framework-${TRAVIS_PYTHON_VERSION/./}
Nicholas Bollweg
try more pyenv stuff from other travis files on github
r24807 fi
Min RK
use binaries for Python on mac...
r24815 python3 -m pip install virtualenv
python3 -m virtualenv -p $(which python$TRAVIS_PYTHON_VERSION) ~/travis-env
source ~/travis-env/bin/activate
fi
- python --version
Nicholas Bollweg
add osx on 3.6 and 3.7 to travis, use addons.apt:packages for graphviz
r24800
Marc Abramowitz
Add .travis.yml for Travis CI (http://travis-ci.org/)
r7633 install:
Nicholas Bollweg
more dedenting
r24817 - pip install pip --upgrade
- pip install setuptools --upgrade
Matthias Bussonnier
Still test on 3.6 – Release is 3.7+...
r25875 - if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
Matthias Bussonnier
prepare release notes
r25974 echo "for the time being still test on 3.6";
Matthias Bussonnier
sed is weird
r25882 sed -ibkp s/7/6/g setup.py;
Matthias Bussonnier
Still test on 3.6 – Release is 3.7+...
r25875 git diff;
fi
Nicholas Bollweg
more dedenting
r24817 - pip install -e file://$PWD#egg=ipython[test] --upgrade
Matthias Bussonnier
Update trio and curio dependencies eagerly....
r25199 - pip install trio curio --upgrade --upgrade-strategy eager
Matthias Bussonnier
Compatibility with traitlets 5.0....
r25932 - pip install 'pytest<6' 'matplotlib !=3.2.0' mypy
Nicholas Bollweg
more dedenting
r24817 - pip install codecov check-manifest --upgrade
Matthias Bussonnier
Enforce black code style on _new_ code
r25958 - pip install mypy darker
Matthias Bussonnier
test traitlets master
r25815 - |
if [[ "$MASTER_DEPENDENCIES" == "True" ]]; then
pip install git+https://github.com/ipython/traitlets#egg=traitlets --force
fi
Nicholas Bollweg
add osx on 3.6 and 3.7 to travis, use addons.apt:packages for graphviz
r24800
Marc Abramowitz
Add .travis.yml for Travis CI (http://travis-ci.org/)
r7633 script:
Nicholas Bollweg
more dedenting
r24817 - check-manifest
- |
if [[ "$TRAVIS_PYTHON_VERSION" == "nightly" ]]; then
# on nightly fake parso known the grammar
Matthias Bussonnier
Fix mightly parso error
r25713 cp /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages/parso/python/grammar38.txt /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages/parso/python/grammar39.txt
Nicholas Bollweg
more dedenting
r24817 fi
- cd /tmp && iptest --coverage xml && cd -
Matthias Bussonnier
Also run test with Pytest....
r25117 - pytest IPython
Matthias Bussonnier
Cleanup and type annotate completer.py...
r25705 - mypy IPython/terminal/ptutils.py
- mypy IPython/core/c*.py
Matthias Bussonnier
darker only on 3.8
r25966 - |
if [[ "$TRAVIS_PYTHON_VERSION" == "3.8" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
darker -r 60625f241f298b5039cb2debc365db38aa7bb522 --check --diff .
fi
Nicholas Bollweg
more dedenting
r24817 # On the latest Python (on Linux) only, make sure that the docs build.
- |
if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
pip install -r docs/requirements.txt
python tools/fixup_whats_new_pr.py
make -C docs/ html SPHINXOPTS="-W"
fi
Nicholas Bollweg
try caching built pythons
r24809
Matthias Bussonnier
enable test coverage on coveralls
r19539 after_success:
Nicholas Bollweg
more dedenting
r24817 - cp /tmp/ipy_coverage.xml ./
- cp /tmp/.coverage ./
- codecov
Min RK
allow failures on nightly Python...
r22473
matrix:
Min RK
use binaries for Python on mac...
r24815 include:
ossdev07
Added arm64 jobs in Travis-CI...
r25413 - arch: amd64
Sylvain Corlay
Test Python 3.6
r25878 python: "3.6"
dist: xenial
- arch: amd64
ossdev07
Added arm64 jobs in Travis-CI...
r25413 python: "3.7"
Min RK
use binaries for Python on mac...
r24815 dist: xenial
ossdev07
Added arm64 jobs in Travis-CI...
r25413 - arch: amd64
Matthias Bussonnier
Stop testing on -dev, they are broken on travis-ci...
r25479 python: "3.8"
ossdev07
Added arm64 jobs in Travis-CI...
r25413 dist: xenial
- arch: amd64
python: "nightly"
dist: xenial
Matthias Bussonnier
replace one nightly by 3.9
r25980 - arch: amd64
python: "3.9-dev"
Min RK
use binaries for Python on mac...
r24815 - os: osx
language: generic
python: 3.6
env: TRAVIS_PYTHON_VERSION=3.6
- os: osx
language: generic
python: 3.7
env: TRAVIS_PYTHON_VERSION=3.7
Matthias Bussonnier
test traitlets master
r25815 - arch: amd64
python: "3.8"
env: MASTER_DEPENDENCIES=True
Min RK
use binaries for Python on mac...
r24815 allow_failures:
- python: nightly
Thomas Kluyver
Use Travis to upload to Github releases...
r23453
before_deploy:
Nicholas Bollweg
more dedenting
r24817 - rm -rf dist/
- python setup.py sdist
- python setup.py bdist_wheel
Thomas Kluyver
Use Travis to upload to Github releases...
r23453
deploy:
Min RK
use binaries for Python on mac...
r24815 provider: releases
api_key:
Nicholas Bollweg
more dedenting
r24817 secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns=
Min RK
use binaries for Python on mac...
r24815 file: dist/*
file_glob: true
Matthias Bussonnier
Remove deprecated and ignored travis.ci keys...
r25736 cleanup: false
Min RK
use binaries for Python on mac...
r24815 on:
repo: ipython/ipython
all_branches: true # Backports are released from e.g. 5.x branch
tags: true
python: 3.6 # Any version should work, but we only need one
condition: $TRAVIS_OS_NAME = "linux"