-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
45 lines (44 loc) · 1.21 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
dist: xenial
group: edge
os:
- linux
language: python
python:
- "3.7"
before_install:
- sudo apt-get update
- sudo apt-get install -y gcc
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
# SoS Notebook
- sudo apt-get install libmagickwand-dev graphviz
- pip install jedi notebook nbconvert nbformat pyyaml psutil tqdm scipy
- pip install pygments ipython wand graphviz sos sos-notebook
- python -m sos_notebook.install
# xeus-cling
- conda install xeus-cling xwidgets notebook xtensor xtl xframe -c conda-forge/label/gcc7
- pip install pytest pytest-cov nose
sudo: required
services:
- docker
install: "pip install . -U"
before_script:
- cd test
script:
- pytest -x -v --cov-report=xml
jobs:
include:
- stage: release
if: branch = master
deploy:
provider: pypi
user:
secure: $PYPI_LOGIN
password:
secure: $PYPI_PASSWORD