-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
- Loading branch information
Showing
91 changed files
with
1,660 additions
and
3,180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
^basic_small.png | ||
^docs$ | ||
^vignettes$ | ||
^tic.R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,52 @@ | ||
language: r | ||
sudo: required | ||
dist: trusty | ||
cache: | ||
- packages | ||
- ccache | ||
latex: false | ||
|
||
addons: | ||
postgresql: "9.6" | ||
apt: | ||
sources: | ||
- sourceline: 'ppa:ubuntugis/ubuntugis-unstable' | ||
packages: | ||
- libproj-dev | ||
- libgeos-dev | ||
- libgdal-dev | ||
- libudunits2-dev | ||
- postgresql-server-dev-9.6 # required for postgis installation | ||
|
||
r: | ||
- release | ||
- devel | ||
|
||
cache: packages | ||
|
||
sudo: required | ||
|
||
dist: trusty | ||
|
||
before_install: | ||
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes | ||
- sudo apt-get --yes --force-yes update -qq | ||
- sudo apt-get install --yes libudunits2-dev libproj-dev libgeos-dev libgdal-dev | ||
|
||
warnings_are_errors: false | ||
|
||
r_packages: | ||
- rgdal | ||
- roxygen2 | ||
- rmarkdown | ||
- sf | ||
|
||
after_success: | ||
- Rscript -e 'covr::codecov()' | ||
# install postgis from source (required for lwgeom installation): | ||
- wget http://download.osgeo.org/postgis/source/postgis-2.3.2.tar.gz | ||
- (mv postgis* /tmp; cd /tmp; tar xzf postgis-2.3.2.tar.gz) | ||
- (cd /tmp/postgis-2.3.2 ; ./configure; make; sudo make install) | ||
# create postgis databases: | ||
- sudo service postgresql restart | ||
- createdb postgis | ||
- psql -d postgis -c "CREATE EXTENSION postgis;" | ||
- psql -d postgis -c "GRANT CREATE ON DATABASE postgis TO travis" | ||
- createdb empty | ||
- psql -d empty -c "CREATE EXTENSION postgis;" | ||
- R -q -e 'install.packages("remotes"); remotes::install_github("ropenscilabs/tic"); tic::prepare_all_stages(); tic::before_install()' | ||
install: R -q -e 'tic::install()' | ||
script: R -q -e 'tic::script()' | ||
|
||
before_deploy: R -q -e 'tic::before_deploy()' | ||
deploy: | ||
provider: script | ||
script: R -q -e 'tic::deploy()' | ||
on: | ||
branch: develop | ||
condition: | ||
- $TRAVIS_PULL_REQUEST = false | ||
- $TRAVIS_EVENT_TYPE != cron | ||
- $TRAVIS_R_VERSION_STRING = release | ||
|
||
after_success: R -q -e 'tic::after_success()' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.