Skip to content

Commit

Permalink
Suppress compiler warnings on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
flipDevTools committed Jun 18, 2021
1 parent d064ea7 commit 7bf7ae5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ warnings_are_errors: false
# update pre-installed packages to latest versions
before_install:
- export R_REMOTES_NO_ERRORS_FROM_WARNINGS="true"
- mkdir -p ~/.R/
- echo "CXXFLAGS = `R CMD config CXXFLAGS` -g0 -flto -Wno-unused-local-typedefs" >> ~/.R/Makevars
- echo "CXXFLAGS += -w" >> ~/.R/Makevars
- echo "CXX14FLAGS = -w -O3" >> ~/.R/Makevars
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get -qq update
- sudo apt-get install -y libgdal-dev libproj-dev python-protobuf libprotoc-dev libprotobuf-dev libv8-dev librsvg2-dev libmpfr-dev libnlopt-dev
Expand Down

0 comments on commit 7bf7ae5

Please sign in to comment.