From d2c318cd399c476a33c9e51b929c34e7260639a4 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 22 Jan 2016 12:39:52 -0600 Subject: Upgrade to metakernel and add tests and travis --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5cecc5e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: python +sudo: false +python: + - "3.5" +install: + # download Scilab and add it to the path + - \ + if [[ $ENV == python=3.3* ]]; then + wget http://www.scilab.org/download/5.4.1/scilab-5.4.1.bin.linux-x86_64.tar.gz -O scilab.tar.gz; + tar xfz scilab.tar.gz; + export PATH="$PWD/scilab-5.4.1/bin:$PATH"; + else + wget http://www.scilab.org/download/5.5.1/scilab-5.5.1.bin.linux-x86_64.tar.gz -O scilab.tar.gz; + tar xfz scilab.tar.gz; + export PATH="$PWD/scilab-5.5.1/bin:$PATH"; + fi + - scilab -version; true + - pip install ipykernel jupyter_client traitlets jupyter_kernel_test flit + - flit install + - python -m scilab_kernel.install +script: + - python test_scilab_kernel.py -- cgit