From d01ad1d07477094066549d4d3fe00e356f955445 Mon Sep 17 00:00:00 2001 From: ajay-malhotra1 Date: Tue, 5 Oct 2021 01:11:27 -0700 Subject: [PATCH 1/2] chore(build): bump node to 14 for new semantic-release version --- .travis.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6d2b0c2..207de07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,12 @@ language: python -dist: xenial +dist: bionic cache: pip +notifications: + email: true + matrix: include: - python: 3.6 @@ -20,10 +23,10 @@ matrix: - python: 3.9 before_install: - - npm install npm@latest -g - - sudo apt-get update - - sudo apt-get install pandoc - - pip install pypandoc +- sudo apt-get update +- sudo apt-get install pandoc +- pip install pypandoc +- echo -e "machine github.ibm.com\n login $GH_TOKEN" > ~/.netrc install: - pip install tox-travis @@ -31,12 +34,13 @@ install: script: tox before_deploy: -- pip install bump2version -- nvm install 12 +- nvm install 14 +- npm install npm@latest -g - npm install @semantic-release/changelog - npm install @semantic-release/exec - npm install @semantic-release/git - npm install @semantic-release/github +- pip install bump2version deploy: - provider: script @@ -44,8 +48,7 @@ deploy: skip_cleanup: true on: python: '3.6' - branch: master - + branch: main - provider: pypi user: __token__ password: $PYPI_TOKEN From 4158070be8eb80d35c0283ef5f7dd1683a50d592 Mon Sep 17 00:00:00 2001 From: ajay-malhotra1 Date: Tue, 5 Oct 2021 01:12:41 -0700 Subject: [PATCH 2/2] chore(build): bump node to 14 for new semantic-release version --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 207de07..2576931 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,7 +48,7 @@ deploy: skip_cleanup: true on: python: '3.6' - branch: main + branch: master - provider: pypi user: __token__ password: $PYPI_TOKEN