From 29275ac6e95fa705b71973067c8de6557eefccd2 Mon Sep 17 00:00:00 2001 From: Nagi Teramo Date: Sat, 23 Dec 2017 09:13:11 +0900 Subject: [PATCH] Add R setting for Travis CI (#385) * Update .travis.yml * Add status badge to README.md * Update .travis.yml to change directory before install R --- .travis.yml | 29 ++++++++++++++++++----------- README.md | 2 ++ 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6692785..3c6694e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,18 @@ -language: python -python: - - "2.7" - - "3.6" - -install: - - pip install --upgrade pip - - pip install -U -r python/requirements.txt - -script: - - cd python && python setup.py develop test +matrix: + include: + - language: python + python: + - "2.7" + - "3.6" + + install: + - pip install --upgrade pip + - pip install -U -r python/requirements.txt + + script: + - cd python && python setup.py develop test + - language: R + sudo: false + cache: packages + before_install: + - cd R diff --git a/README.md b/README.md index 5c6123d..64471b3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Prophet: Automatic Forecasting Procedure +[![Build Status](https://travis-ci.org/facebook/prophet.svg?branch=master)](https://travis-ci.org/facebook/prophet) + Prophet is a procedure for forecasting time series data. It is based on an additive model where non-linear trends are fit with yearly and weekly seasonality, plus holidays. It works best with daily periodicity data with at least one year of historical data. Prophet is robust to missing data, shifts in the trend, and large outliers. Prophet is [open source software](https://code.facebook.com/projects/) released by Facebook's [Core Data Science team](https://research.fb.com/category/data-science/). It is available for download on [CRAN](https://cran.r-project.org/package=prophet) and [PyPI](https://pypi.python.org/pypi/fbprophet/).