updated travis.yml

pull/97/head
Agam 2020-09-01 23:53:04 -04:00
parent 0918c1d8c1
commit 5a2e2a2a0a
1 changed files with 12 additions and 16 deletions

View File

@ -5,13 +5,10 @@ services:
sudo: required sudo: required
language: python # this works for Linux but is an error on macOS or Windows language: python # this works for Linux but is an error on macOS or Windows
stages:
- test
- dockerize
jobs: jobs:
include: include:
- stage: test - stage: "Tests"
name: "Python 3.7 on Xenial Linux" name: "Python 3.7 on Xenial Linux"
os: linux os: linux
language: python language: python
@ -35,8 +32,7 @@ jobs:
- $HOME/.local/share/renv - $HOME/.local/share/renv
- $TRAVIS_BUILD_DIR/renv/library - $TRAVIS_BUILD_DIR/renv/library
- stage: test - name: "Python 3.7 on macOS"
name: "Python 3.7 on macOS"
os: osx os: osx
osx_image: xcode11.3 # Python 3.7 running on macOS 10.14.4 osx_image: xcode11.3 # Python 3.7 running on macOS 10.14.4
language: generic # 'language: python' is an error on Travis CI macOS language: generic # 'language: python' is an error on Travis CI macOS
@ -58,8 +54,8 @@ jobs:
- $RENV_PATHS_ROOT - $RENV_PATHS_ROOT
- $TRAVIS_BUILD_DIR/renv/library - $TRAVIS_BUILD_DIR/renv/library
- stage: dockerize - stage: deploy
name: "Python 3.7 on Xenial Linux" name: "Python 3.7 on Xenial Linux Docker"
os: linux os: linux
language: python language: python
script: script: