Skip to content

Commit

Permalink
travis: try fixing python version
Browse files Browse the repository at this point in the history
  • Loading branch information
gcampax committed Dec 12, 2021
1 parent 402ba86 commit a31148a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ branches:
- "/^dependabot/"
language: node_js
node_js: '12'
dist: xenial
python: '3.8'
dist: bionic
env:
global:
- COVERALLS_PARALLEL=true
Expand Down Expand Up @@ -55,6 +56,7 @@ jobs:
name: "Translation Tests"
install:
- pyenv global 3.8.1
- virtualenv --py $(pyenv which python3) venv && . ./venv/bin/activate
- ./travis/install-starter-deps.sh
- pip3 install polib
- travis_retry npm ci
Expand All @@ -64,6 +66,7 @@ jobs:
name: "Starter Code Tests (Basic)"
install:
- pyenv global 3.8.1
- virtualenv --py $(pyenv which python3) venv && . ./venv/bin/activate
- ./travis/install-starter-deps.sh
- travis_retry npm ci
script: npx nyc ./test/basic-starter.sh
Expand All @@ -72,13 +75,15 @@ jobs:
name: "Starter Code Tests (Schema.org)"
install:
- pyenv global 3.8.1
- virtualenv --py $(pyenv which python3) venv && . ./venv/bin/activate
- ./travis/install-starter-deps.sh
- travis_retry npm ci
script: npx nyc ./test/schemaorg-starter.sh
after_success: npm run coverage
- name: "Starter Code Tests (Wikidata)"
install:
- pyenv global 3.8.1
- virtualenv --py $(pyenv which python3) venv && . ./venv/bin/activate
- ./travis/install-starter-deps.sh
- travis_retry npm ci
script: npx nyc ./test/wikidata-starter.sh
Expand All @@ -87,6 +92,7 @@ jobs:
name: "Starter Code Tests (MultiWOZ)"
install:
- pyenv global 3.8.1
- virtualenv --py $(pyenv which python3) venv && . ./venv/bin/activate
- ./travis/install-starter-deps.sh
- travis_retry npm ci
script: npx nyc ./test/multiwoz-starter.sh
Expand All @@ -95,6 +101,7 @@ jobs:
name: "Starter Code Tests (Custom Skills)"
install:
- pyenv global 3.8.1
- virtualenv --py $(pyenv which python3) venv && . ./venv/bin/activate
- ./travis/install-starter-deps.sh
- travis_retry npm ci
script: npx nyc ./test/custom-starter.sh
Expand Down

0 comments on commit a31148a

Please sign in to comment.