Skip to content

Commit

Permalink
still trying to fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
avalcarcel9 committed Aug 29, 2019
1 parent 1402ce0 commit 8a5bb08
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,30 @@ os:
- linux
- osx

r_binary_packages: rgl

env:
global: RGL_USE_NULL=TRUE

r_check_args: "--as-cran --install-args=--build"

before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ];
then
sudo apt-get update -qq ;
sudo apt-get install -y libmng2 ;
sudo apt-get install -y libmng1 ;
sudo updatedb;
fi
- if [ "$TRAVIS_OS_NAME" = "linux" ];
then
sudo apt-get install -y r-cran-rgl || echo "No install RGL" ;
fi
- wget -O travis_helpers.sh http://bit.ly/travis_helpers
- source travis_helpers.sh
- rm travis_helpers.sh
- PACKAGE_NAME=`package_name`
- PACKAGE_DIRECTORY=`basename ${PWD}`

install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test;
sudo apt-get update;
sudo apt-get install -qq build-essential xorg-dev libgl1-mesa-dev libglu1-mesa-dev libglew-dev libglm-dev;
sudo apt-get install -qq libusb-1.0-0-dev;
sudo apt-get install -qq libgtk-3-dev;
sudo apt-get install gcc-5 g++-5;
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5;
sudo apt-get install libglfw3-dev libglfw3;
fi

apt_packages:
- texinfo

Expand Down

0 comments on commit 8a5bb08

Please sign in to comment.