This repository has been archived by the owner on Jan 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
396f0a5
commit 994357e
Showing
5 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
language: python | ||
sudo: false | ||
dist: xenial | ||
sudo: true | ||
cache: | ||
pip: true | ||
yarn: true | ||
python: | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
- "3.7" | ||
env: | ||
- TRAVIS_NODE_VERSION="4" | ||
- TRAVIS_NODE_VERSION="10.5" | ||
before_install: | ||
- nvm install $TRAVIS_NODE_VERSION | ||
- curl -o- -L https://yarnpkg.com/install.sh | bash | ||
- export PATH="$HOME/.yarn/bin:$PATH" | ||
install: | ||
- pip install --upgrade setuptools pip | ||
- pip install -r requirements.txt | ||
- pip install mypy | ||
- pip install 'mypy<=0.620' | ||
- pip freeze | ||
- yarn | ||
script: | ||
- node_modules/.bin/gulp jshint | ||
- if [ "`python --version`" \> "Python 3.5.0" ]; then isort --check-only --recursive openslides_protocol tests; fi | ||
- isort --check-only --recursive openslides_protocol tests | ||
- flake8 openslides_protocol tests | ||
- PYTHONPATH=./ DJANGO_SETTINGS_MODULE='tests.settings' openslides test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
openslides>=2.2,<2.3 | ||
openslides>=2.2,<3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters