From 21282cfdd57ff539fad8b42876f30e97f4fa8998 Mon Sep 17 00:00:00 2001 From: GLolol Date: Fri, 24 Oct 2014 11:18:43 -0700 Subject: [PATCH] Set up travis-ci and update .gitignore --- .gitignore | 4 ++++ .travis.yml | 24 ++++++++++++++++++++++++ requirements.txt | 2 ++ 3 files changed, 30 insertions(+) create mode 100644 .travis.yml create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore index aa246c6..12e1cf7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,10 @@ __pycache__/ *.py[cod] *.mo +**/test-data/ +**/test-conf/ +**/test-logs/ +backup/ # emacs/vi *.swo diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b6d0fc2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: python +python: + - "2.6" + - "2.7" + - "3.2" + - "3.3" + - "3.4" +# Fetch dependencies +install: + - pip install -vr requirements.txt||true +# Run supybot-test +script: + - echo $TRAVIS_PYTHON_VERSION + - supybot-test --plugins-dir=. --no-network +notifications: + email: false +matrix: + fast_finish: true + allow_failures: + - python: "3.2" + - python: "3.3" +branches: + except: + - /^archive-.*$/ diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4a7e09e --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +git+https://github.com/ProgVal/Limnoria.git +beautifulsoup4