Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tic::use_tic() for automatic deployment of pkgdown and testing on AppVeyor #28

Open
krlmlr opened this issue Dec 31, 2019 · 5 comments
Open

Comments

@krlmlr
Copy link
Collaborator

krlmlr commented Dec 31, 2019

Could you please install

remotes::install_github(c("ropenscilabs/tic", "ropenscilabs/travis"))

and run

tic::use_tic()

If asked to overwrite .travis.yml, select "yes". You may need to set up a Travis access token with travis::browse_travis_token() .

Benefits:

  1. Automatic building of pkgdown documentation
  2. We can build pkgdown for {RANN} and {RANN.L1} and host in parallel
  3. Testing on Windows

I can also do it if you increase my permissions to this repository.

I just noticed {RANN.L1} has been orphaned on CRAN, I'd like to update.

@krlmlr
Copy link
Collaborator Author

krlmlr commented Jan 1, 2020

Thanks for re-inviting me, unfortunately I still can't access the Travis and GitHub configuration from this repository.

With the most recent version of {tic}, you can now do:

tic::use_tic(wizard = FALSE, linux = "travis", mac = "none", windows =
"appveyor", deploy = "travis", matrix = "travis")

to either get a quick error, or succeed.

I forgot to mention that you probably also need a GitHub token, create with usethis::browse_github_token(c("repo", "admin:public_key")) .

This is a one-off exercise that hopefully will make things easier in the longer run. Thanks for your help!

@jefferis
Copy link
Member

jefferis commented Jan 1, 2020

OK I've done the tic setup as requested. Does it look ok?

@jefferis
Copy link
Member

jefferis commented Jan 1, 2020

Hmm there is a build failure – it is unable to install tic at the start of the travis job.

https://travis-ci.org/jefferislab/RANN/builds/631589524

I have switched the repo to my lab GitHub org (jefferislab) and made you an admin. Perhaps you might be able to debug? The build failure is still there:

https://travis-ci.org/jefferislab/RANN/jobs/631596529

I'm not sure if there could be a PAT issue.

@jefferis
Copy link
Member

jefferis commented Jan 1, 2020

I generated a new PAT (with identical scope) and it looks like the build is running ok now. In any case, I hope you can go ahead and make the changes you would like.

@krlmlr
Copy link
Collaborator Author

krlmlr commented Jan 1, 2020

Thanks, looks good. Do you want to test on AppVeyor too? The configuration has been created, I think you need to register the project with AppVeyor.

I have changed the documentation source to the gh-pages branch -- this is now auto-updated by Travis. We can get rid of docs/ now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants