Giter VIP home page Giter VIP logo

Comments (3)

maxheld83 avatar maxheld83 commented on June 16, 2024

I actually now seem to have a .travis.yml that works without a hitch, and without any extra settings for all things tidyverse, but I am not sure whether it is recommended (since it relies on the yet beta-ish trusty container).

Anyway, this works, and is reasonably short. No makevars shenanigans necessary, apparently.

language: r

sudo: false

dist: trusty

install:
  - R -e "0" --args --bootstrap-packrat

warnings_are_errors: false

cache:
  packages: true
  directories:
    - $TRAVIS_BUILD_DIR/_bookdown_files
    - $TRAVIS_BUILD_DIR/packrat/

before_script:
  - chmod +x ./_build.sh
  - chmod +x ./_deploy.sh

script:
  - ./_build.sh
  - ./_deploy.sh

notifications:
  email: false

from tidyverse.

hadley avatar hadley commented on June 16, 2024

I'm not sure using tidyverse in build systems is a good idea - the idea is that it makes it easy to get things for interactive use, but in this usage it's going to pull down a lot of stuff that you don't need and takes a long time to compile etc.

from tidyverse.

maxheld83 avatar maxheld83 commented on June 16, 2024

alright, that makes sense, thanks for the recommendation.

Still perhaps people will find above travis config helpful.

from tidyverse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.