我有travis ci .yml文件运行得很好。但是,有几个测试我不想在travis CI中运行。我在R
中使用testthat框架如何指定运行某些测试但不是全部?
language: r
sudo: required
cache: packages
before_install:
- echo -e "machine github.com\n login $CI_USER_TOKEN" >> ~/.netrc
- chmod 755 ./travis-tool.sh
# - ./travis-tool.sh bootstrap
install:
- ./travis-tool.sh install_r devtools
- ./travis-tool.sh install_r testthat
- ./travis-tool.sh install_r knitr
- ./travis-tool.sh install_r BH
- ./travis-tool.sh install_r dplyr
- ./travis-tool.sh install_r dbplyr
- ./travis-tool.sh install_r later
....