Skip to content

Commit 745a0dc

Browse files
committed
Faster builds
1 parent cc51d82 commit 745a0dc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
language: cpp
22
compiler:
3-
gcc
4-
clang
3+
- gcc
4+
- clang
55
dist: bionic
66
env:
77
global:
88
- PYTHON=3.6
99
- MAKE_FLAGS=-j4
10-
- CXXFLAGS="-Wall -Wextra -march=native"
10+
- CXXFLAGS="-O0 -Wall -Wextra -march=native"
1111
addons:
1212
apt:
1313
update: true
@@ -32,7 +32,7 @@ before_script:
3232
- mkdir build
3333
- cd build
3434
- lcov --directory . --zerocounters
35-
- cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_PYTHON_VERSION=$PYTHON ..
35+
- cmake -DCMAKE_BUILD_TYPE=Debug -DPR_USE_LTO=OFF -DPYBIND11_PYTHON_VERSION=$PYTHON ..
3636
script:
3737
- make $MAKE_FLAGS
3838
- make test || true

0 commit comments

Comments
 (0)