Table-and-Graph-Libs/.travis.yml

23 lines
571 B
YAML
Raw Normal View History

2019-01-04 17:29:55 +08:00
language: cpp
matrix:
include:
2019-10-10 17:30:18 +08:00
# - os: linux
# dist: trusty
2019-01-04 17:29:55 +08:00
- os: linux
dist: xenial
2019-10-10 17:30:18 +08:00
- os: linux
dist: bionic
2019-01-04 17:29:55 +08:00
install:
- sudo apt-get -yqq update
- sudo apt-get -yqq install cppcheck
script:
- g++ -Wall -g -fsanitize=address tables.cpp -o gcc_tables
- ./gcc_tables
- g++ -Wall -g -fsanitize=address graphs.cpp -o gcc_graphs
- ./gcc_graphs
- clang++ -Wall -g -fsanitize=address tables.cpp -o clang_tables
- ./clang_tables
- clang++ -Wall -g -fsanitize=address graphs.cpp -o clang_graphs
- ./clang_graphs
2019-01-05 18:24:50 +08:00
- cppcheck --enable=all .