From 40ec24dcd12839b03255c2ef7c5a1211ca275c16 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 15 Oct 2019 12:01:03 -0300 Subject: Update .travis.yml --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 70a1280..58d9ea4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,14 +13,14 @@ packages: - cmake before_install: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test ; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update ; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y libwxgtk3.0-dev ; fi +sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test +sudo apt-get update +sudo apt-get install -y libwxgtk3.0-dev install: # C++17 - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq g++-6 ; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90 ; fi +sudo apt-get install -qq g++-6 +sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90 before_script: - mkdir build -- cgit