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 910ec76
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion travis/install-starter-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ srcdir=`dirname $0`/..
srcdir=`realpath $srcdir`

pip3 install --upgrade pip
which genienlp >/dev/null 2>&1 || pip3 install --user 'genienlp==v0.7.0a3'
which genienlp >/dev/null 2>&1 || pip3 install 'genienlp==v0.7.0a3'
which genienlp

mkdir -p $srcdir/test/embeddings

0 comments on commit 910ec76

Please sign in to comment.