Update Travis config

This commit is contained in:
Tushar Maheshwari 2021-06-12 12:14:46 +05:30
parent 2e49ce59f4
commit dca30fff7f

View File

@ -1,17 +1,20 @@
language: cpp language: cpp
compiler: gcc compiler: gcc
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cppcheck
- g++-8
- uuid-dev
before_install: before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-cache search libuuid - sudo apt-cache search libuuid
install: install:
- sudo apt-get install -qq g++-8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
- sudo apt-get install -qq cppcheck
- sudo apt-get install uuid-dev
before_script: before_script:
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}