Clean up travis file
parent
9762604888
commit
5a8e995c60
|
@ -33,14 +33,14 @@ jobs:
|
|||
osx_image: xcode11.3 # Python 3.7 running on macOS 10.14.4
|
||||
language: generic # 'language: python' is an error on Travis CI macOS
|
||||
before_install:
|
||||
- HOMEBREW_NO_AUTO_UPDATE=1 brew link --overwrite gcc@9
|
||||
- ls /usr/local/opt/gcc/lib/gcc
|
||||
- HOMEBREW_NO_AUTO_UPDATE=1 brew install https://github.com/Homebrew/homebrew-core/raw/218998d/Formula/r.rb
|
||||
- HOMEBREW_NO_AUTO_UPDATE=1 brew install gcc@9
|
||||
- HOMEBREW_NO_AUTO_UPDATE=1 brew install https://github.com/Homebrew/homebrew-core/raw/218998d/Formula/r.rb # R 4.0.0
|
||||
- R --version
|
||||
- HOMEBREW_NO_AUTO_UPDATE=1 brew install mysql
|
||||
- HOMEBREW_NO_AUTO_UPDATE=1 brew services start mysql
|
||||
- HOMEBREW_NO_AUTO_UPDATE=1 brew cask install miniconda
|
||||
- eval "$(/opt/miniconda3/condabin/conda shell.bash hook)"
|
||||
- eval "$(conda shell.bash hook)" # properly initialise non-interactive shell with gcc and no update brew
|
||||
|
||||
env:
|
||||
- RENV_PATHS_ROOT="$HOME/renv/cache"
|
||||
|
@ -51,7 +51,6 @@ jobs:
|
|||
- $TRAVIS_BUILD_DIR/renv/library
|
||||
|
||||
install:
|
||||
- eval "$(conda shell.bash hook)" # properly initialise non-interactive shell
|
||||
- conda init bash
|
||||
- conda update -q --all --yes conda
|
||||
- conda env create -q -n test-environment python=$TRAVIS_PYTHON_VERSION --file environment.yml
|
||||
|
|
Loading…
Reference in New Issue