Skip to content

Commit

Permalink
Travis CI: Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
hroncok authored and encukou committed Mar 2, 2022
1 parent f673f89 commit b2dce77
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lessons/intro/testing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -748,10 +748,26 @@ a povolte Travis pro váš repozitář.

Do repozitáře přidejte soubor `.travis.yml`:

```yaml
language: python
python:
- '3.6'
install:
- python setup.py install
script:
- python setup.py test
```
Uvedený příklad je pro Python 3.6.
Pro Python 3.7 je třeba nastavit ještě speciální specifické volby,
jelikož je tato verze příliš nová:
```yaml
language: python
python:
- '3.7'
dist: xenial
sudo: required
install:
- python setup.py install
script:
Expand Down

0 comments on commit b2dce77

Please sign in to comment.