Remove macos testing from travis due to limitations
parent
03ed6c2fd8
commit
0202b9cee1
31
.travis.yml
31
.travis.yml
|
@ -40,37 +40,6 @@ jobs:
|
|||
- "$TRAVIS_BUILD_DIR/renv/library"
|
||||
script:
|
||||
- bash tests/scripts/run_tests.sh all test
|
||||
- name: Python 3.7 on macOS
|
||||
os: osx
|
||||
osx_image: xcode11.3
|
||||
language: generic
|
||||
before_install:
|
||||
- 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 --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)"
|
||||
install:
|
||||
- conda init bash
|
||||
- conda update -q --all --yes conda
|
||||
- conda env create -q -n test-environment python=$TRAVIS_PYTHON_VERSION --file
|
||||
environment.yml
|
||||
- conda activate test-environment
|
||||
- snakemake -j1 renv_install
|
||||
- R -e 'renv::settings$use.cache(FALSE)'
|
||||
- snakemake -j1 renv_restore
|
||||
env:
|
||||
- RENV_PATHS_ROOT="$HOME/renv/cache"
|
||||
cache:
|
||||
directories:
|
||||
- "/usr/local/lib/R"
|
||||
- "$RENV_PATHS_ROOT"
|
||||
- "$TRAVIS_BUILD_DIR/renv/library"
|
||||
script:
|
||||
- bash tests/scripts/run_tests.sh all test
|
||||
- stage: deploy
|
||||
name: Python 3.7 on Xenial Linux Docker
|
||||
os: linux
|
||||
|
|
Loading…
Reference in New Issue