From 7c1794b53ae93f2d4ee37838f6079884fe939fe1 Mon Sep 17 00:00:00 2001 From: Douglas De Rizzo Meneghetti Date: Wed, 6 Nov 2019 20:03:24 -0300 Subject: [PATCH 1/3] multiple tests on travis ci --- .travis.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6c90b9ec..c3710028 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ cache: language: cpp python: - 3.6 + - 3.7 compiler: - gcc - clang @@ -37,6 +38,12 @@ install: script: - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi - - (mkdir rts/build_MC && cd rts/build_MC && cmake .. -DGAME_DIR=../game_MC && make) - - (mkdir rts/build_CF && cd rts/build_CF && cmake .. -DGAME_DIR=../game_CF && make) - - (mkdir rts/build_TD && cd rts/build_TD && cmake .. -DGAME_DIR=../game_TD && make) + - (mkdir rts/build_MC && cd rts/build_MC && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python -DGAME_DIR=../game_MC && make) + - (mkdir rts/build_CF && cd rts/build_CF && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python -DGAME_DIR=../game_CF && make) + - (mkdir rts/build_TD && cd rts/build_TD && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python -DGAME_DIR=../game_TD && make) + - (mkdir rts/build_MC && cd rts/build_MC && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python3 -DGAME_DIR=../game_MC && make) + - (mkdir rts/build_CF && cd rts/build_CF && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python3 -DGAME_DIR=../game_CF && make) + - (mkdir rts/build_TD && cd rts/build_TD && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python3 -DGAME_DIR=../game_TD && make) + - (mkdir rts/build_MC && cd rts/build_MC && cmake .. -DPYTHON_EXECUTABLE=/usr/bin/python -DGAME_DIR=../game_MC && make) + - (mkdir rts/build_CF && cd rts/build_CF && cmake .. -DPYTHON_EXECUTABLE=/usr/bin/python -DGAME_DIR=../game_CF && make) + - (mkdir rts/build_TD && cd rts/build_TD && cmake .. -DPYTHON_EXECUTABLE=/usr/bin/python -DGAME_DIR=../game_TD && make) \ No newline at end of file From 9c14562f5e1eb69333d9521f5c489261ff2af77a Mon Sep 17 00:00:00 2001 From: Douglas De Rizzo Meneghetti Date: Wed, 6 Nov 2019 20:03:24 -0300 Subject: [PATCH 2/3] multiple tests on travis ci --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6c90b9ec..348915a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ cache: language: cpp python: - 3.6 + - 3.7 compiler: - gcc - clang @@ -37,6 +38,6 @@ install: script: - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi - - (mkdir rts/build_MC && cd rts/build_MC && cmake .. -DGAME_DIR=../game_MC && make) - - (mkdir rts/build_CF && cd rts/build_CF && cmake .. -DGAME_DIR=../game_CF && make) - - (mkdir rts/build_TD && cd rts/build_TD && cmake .. -DGAME_DIR=../game_TD && make) + - (mkdir rts/build_MC && cd rts/build_MC && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python -DGAME_DIR=../game_MC && make) + - (mkdir rts/build_CF && cd rts/build_CF && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python -DGAME_DIR=../game_CF && make) + - (mkdir rts/build_TD && cd rts/build_TD && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python -DGAME_DIR=../game_TD && make) \ No newline at end of file From 9e7e78b6b4efaaa9c711edef39ab7d8e1e2d05e4 Mon Sep 17 00:00:00 2001 From: Douglas De Rizzo Meneghetti Date: Thu, 7 Nov 2019 00:27:26 -0300 Subject: [PATCH 3/3] ignore compilation of projects that are not meant to be compiled for now uou --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 348915a9..7116edb8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,6 @@ cache: language: cpp python: - 3.6 - - 3.7 compiler: - gcc - clang @@ -39,5 +38,5 @@ install: script: - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi - (mkdir rts/build_MC && cd rts/build_MC && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python -DGAME_DIR=../game_MC && make) - - (mkdir rts/build_CF && cd rts/build_CF && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python -DGAME_DIR=../game_CF && make) - - (mkdir rts/build_TD && cd rts/build_TD && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python -DGAME_DIR=../game_TD && make) \ No newline at end of file +# - (mkdir rts/build_CF && cd rts/build_CF && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python -DGAME_DIR=../game_CF && make) +# - (mkdir rts/build_TD && cd rts/build_TD && cmake .. -DPYTHON_EXECUTABLE=/opt/pyenv/shims/python -DGAME_DIR=../game_TD && make) \ No newline at end of file