prod
:
test
:
- R (>= 3.3.2)
- Sauce Labs
From the command line (or in .bashrc
file):
export ISR_login=yourImmuneSpace@email.here
export ISR_pwd=yourImmuneSpacePasswordHere
export SAUCE_USERNAME=yourUsername
export SAUCE_ACCESS_KEY=yourAccessKey
To run all tests from the command line:
Rscript test.R
Or in R:
source("test.R")
To run a test file in R:
testthat::test_file("tests/test-front.R")
Configure .travis.yml
- To install R and required packages
- To cache packages
- To run
test.R
script - To setup Sauce Connect
- To communicate with
Sauce Labs
after test - To notify a Slack channel
See Defining Variables in Repository Settings
Create DESCRIPTION file
Even though this is not a package, DESCRIPTION file is needed to run a builder in Travis in order to declare dependencies according to Hadley
- Front page (
test-0-front.R
) - Home page (
test-home.R
) - Overview page (
test-overview.R
) - Data Finder page (
test-datafinder.R
) - Participants page (
test-participants.R
) - Clinical and Assay Data page (
test-data.R
) - Modules page (
test-modules.R
)- Data Explorer (
test-modules-de.R
) - Gene Expression Explorer (
test-modules-gee.R
) - Gene Set Enrichment Analysis (
test-modules-gsea.R
) - Immune Response Predictor (
test-modules-irp.R
)
- Data Explorer (
- Reports page (
test-reports.R
)- SDY144 (
test-reports-sdy144.R
) - SDY180 (
test-reports-sdy180.R
) - SDY207 (
test-reports-sdy207.R
) - SDY269 (
test-reports-sdy269.R
)
- SDY144 (
- Save logs and screenshots: https://docs.travis-ci.com/user/uploading-artifacts/
- Set up dependent builds: travis-ci/travis-ci#249 (comment)
- Set up cron jobs: https://docs.travis-ci.com/user/cron-jobs/
- Iterate through each study
- Add slack notification
- Use
Sauce Labs
instead ofphantomjs
: https://saucelabs.com/beta/signup/OSS/None