From 59e3599a5868343c5786aca641a172e1ed32d459 Mon Sep 17 00:00:00 2001 From: Philip Paquette Date: Tue, 3 Sep 2019 21:31:54 -0400 Subject: Migrated tests from Jenkins to Travis --- .travis.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2f298dc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,29 @@ +cache: + directories: + - $HOME/.cache/pip + - $HOME/.cache/diplomacy +install: + - mkdir -p $HOME/.cache/diplomacy + - wget -nv https://storage.googleapis.com/ppaquette-diplomacy/cache-jenkins/convoy_paths_cache.pkl -O $HOME/.cache/diplomacy/convoy_paths_cache.pkl + - pip install -r requirements.txt + - pip install -r requirements_dev.txt + - touch run_install_nvm.sh + - chmod +x run_install_nvm.sh + - ./run_install_nvm.sh +script: ./run_tests.sh +jobs: + include: + - os: linux + sudo: required + language: python + python: 3.5 + + - os: linux + sudo: required + language: python + python: 3.6 + + - os: linux + sudo: required + language: python + python: 3.7 -- cgit v1.2.3