Jelajahi Sumber

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
Nagi Teramo 8 tahun lalu
induk
melakukan
29275ac6e9
2 mengubah file dengan 20 tambahan dan 11 penghapusan
  1. 18 11
      .travis.yml
  2. 2 0
      README.md

+ 18 - 11
.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

+ 2 - 0
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/).