Просмотр исходного кода

[ci] stop travis/appveyor

tags/v0.3.0
Garrick Aden-Buie 6 лет назад
Родитель
Сommit
4f597480a3
2 измененных файлов: 0 добавлений и 89 удалений
  1. +0
    -60
      .travis.yml
  2. +0
    -29
      appveyor.yml

+ 0
- 60
.travis.yml Просмотреть файл

@@ -1,60 +0,0 @@
# OS: Linux + macOS ------------------------------------------------------------
# tic documentation: https://docs.ropensci.org/tic/dev/

matrix:
include:
- os: linux
r: release
env:
- BUILD_PKGDOWN=true
- os: osx
r: release
- os: linux
r: devel
- os: linux
r: oldrel
- os: osx
r: oldrel

# meta -------------------------------------------------------------------------
language: r
cache:
- packages
- $HOME/.ccache
- $HOME/Library/Caches/Homebrew
latex: false

# environment variables --------------------------------------------------------

env:
global:
- MAKEFLAGS="-j 2"

# Stages -----------------------------------------------------------------------

before_install:
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew install ccache; fi
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
- echo -e "options(Ncpus = 8, repos = structure(c(CRAN = 'https://cloud.r-project.org/')))" > $HOME/.Rprofile
- mkdir -p $HOME/.R && echo -e 'CXX_STD = CXX14\n\nCC=ccache gcc -std=gnu99\nCXX=ccache g++\nCXX11=ccache g++ -std=gnu99\nCXX14=ccache g++ -std=gnu99\nC11=ccache g++\nC14=ccache g++\nFC=ccache gfortran\nF77=ccache gfortran' > $HOME/.R/Makevars
- mkdir -p $HOME/.ccache && echo -e 'max_size = 5.0G\nsloppiness = include_file_ctime\nhash_dir=false' > $HOME/.ccache/ccache.conf
- R -q -e 'if (!requireNamespace("remotes")) install.packages("remotes")'
- R -q -e 'if (getRversion() < "3.2" && !requireNamespace("curl")) install.packages("curl")'
- R -q -e 'remotes::install_github("ropensci/tic", upgrade = "always"); print(tic::dsl_load()); tic::prepare_all_stages()'
- R -q -e 'tic::before_install()'
install:
- R -q -e 'tic::install()'
before_script: R -q -e 'tic::before_script()'
script: R -q -e 'tic::script()'
after_success: R -q -e 'tic::after_success()'
after_failure: R -q -e 'tic::after_failure()'
before_deploy: R -q -e 'tic::before_deploy()'
deploy:
provider: script
script: R -q -e 'tic::deploy()'
on:
all_branches: true
after_deploy: R -q -e 'tic::after_deploy()'
after_script: R -q -e 'tic::after_script()'

# Custom user code -------------------------------------------------------------

+ 0
- 29
appveyor.yml Просмотреть файл

@@ -1,29 +0,0 @@
# tic documentation: https://docs.ropensci.org/tic/dev/

# Download script file from GitHub
init:
ps: |
$ErrorActionPreference = "Stop"
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
Import-Module '..\appveyor-tool.ps1'

install:
- ps: Bootstrap
- cmd: Rscript -e "writeLines('options(repos = \'https://cloud.r-project.org\')', '~/.Rprofile')"
- cmd: Rscript -e "getOption('repos')"
- cmd: Rscript -e "if (!requireNamespace('remotes')) install.packages('remotes', type = 'binary')"
- cmd: Rscript -e "if (getRversion() < '3.2' && !requireNamespace('curl')) install.packages('curl', type = 'binary')"
- cmd: Rscript -e "options(pkgType = 'binary'); remotes::install_github('ropensci/tic', upgrade = 'always'); print(tic::dsl_load()); tic::prepare_all_stages()"

before_build: Rscript -e "tic::before_install()"
build_script: Rscript -e "tic::install()"
after_build: Rscript -e "tic::after_install()"
before_test: Rscript -e "tic::before_script()"
test_script: Rscript -e "tic::script()"
on_success: Rscript -e "try(tic::after_success(), silent = TRUE)"
on_failure: Rscript -e "tic::after_failure()"
before_deploy: Rscript -e "tic::before_deploy()"
deploy_script: Rscript -e "tic::deploy()"
after_deploy: Rscript -e "tic::after_deploy()"
on_finish: Rscript -e "tic::after_script()"
# Custom user code -------------------------------------------------------------

Загрузка…
Отмена
Сохранить