Skip to content

Commit 1061a39

Browse files
Fix Travis build errors
1 parent fc4e875 commit 1061a39

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ language: c
22
compiler:
33
- gcc
44
before_install:
5+
- sudo apt-get update
56
- sudo apt-get install cmake valgrind
67
script:
7-
- mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DXML_PARSER_VERBOSE=On .. && make && ./test-xml && valgrind --tool=memcheck --leak-check=full --track-origins=yes -v ./test-xml
8+
- mkdir build && cd build
9+
- cmake -DCMAKE_BUILD_TYPE=Debug -DXML_PARSER_VERBOSE=On ..
10+
- make
11+
- ./test-xml
12+
- valgrind --tool=memcheck --leak-check=full --track-origins=yes -v ./test-xml
813

0 commit comments

Comments
 (0)