-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
48 lines (40 loc) · 679 Bytes
/
.travis.yml
File metadata and controls
48 lines (40 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: cpp
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
stages:
- test
before_script:
- export CC=g++-7
jobs:
allow_failures:
- script:
- cpplint src/*
include:
- stage: test
name: "make"
script:
- make clean
- make
- make tar
name: "tests"
script:
- make clean
- make
- ./a4tasks test/t1.txt 75 20
- name: "cppcheck"
install:
- sudo apt-get install -qq cppcheck
script:
- cppcheck --error-exitcode=1 .
- name: "lint"
language: python
python: 3.6
install:
- pip3 install cpplint
script:
- cpplint src/*