From 03ad9118df7bed80139fefcd5cfa0d7674c64d31 Mon Sep 17 00:00:00 2001 From: Luke Gorrie Date: Sat, 18 Mar 2017 21:14:20 +0000 Subject: [PATCH] Travis CI: Test -O3/-O2/-O1/-joff separately --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d08fa920ea..ce17849edb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,12 @@ language: nix sudo: false +env: + - jit=-O3 + - jit=-O2 + - jit=-01 + - jit=-joff script: - nix-build - result/bin/raptorjit -e 'for i = 1, 1000 do end' - git submodule init submodules/raptorjit-testsuite - - (cd submodules/raptorjit-testsuite/test; ../../../result/bin/raptorjit test.lua +slow) + - (cd submodules/raptorjit-testsuite/test; ../../../result/bin/raptorjit $jit test.lua +slow)