From d43fd0566002c068beeb8b46ce33991266a396ea Mon Sep 17 00:00:00 2001 From: Martijn Vermaat <martijn@vermaat.name> Date: Mon, 12 Oct 2015 23:22:27 +0200 Subject: [PATCH] Speedup Travis CI builds by non-optimizing compiles Especially lxml takes very long to install. By specifying the `-O0` compiler flag this is reduced by more than half. The actual unit tests are slightly slower with the non-optimized C modules, but we have a netto win. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4d927751..aed5da67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ services: redis-server before_install: - sudo apt-get update -qq - sudo apt-get install -y swig - - pip install -r requirements.txt + - CFLAGS=-O0 pip install -r requirements.txt - pip install psycopg2 install: pip install . before_script: -- GitLab