Skip to content

Commit 8b8451e

Browse files
committed
try to fix orca
1 parent 442b57f commit 8b8451e

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ python:
44
notifications:
55
email: true
66
before_install:
7-
- export PATH="$HOME/miniconda/bin:$PATH"
7+
- export PATH="./.travis:$HOME/miniconda/bin:$PATH"
88
- sudo apt-get -qq update
99
- bash .travis/install_conda.sh
1010
install: "pip install --quiet -r requirements.txt"
11+
before_script:
12+
- "export DISPLAY=:99.0"
13+
- "sh -e /etc/init.d/xvfb start"
14+
- sleep 3 # give xvfb some time to start
1115
script: make travis
1216
after_script:
1317
- echo "Rendered notebook http://nbviewer.jupyter.org/urls/s3.amazonaws.com/pythonplotbuilds/tdhopper/pythonplot.com/$TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER/Examples.$(git log -1 --pretty=format:'%h').ipynb"

.travis/install_conda.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ hash -r
55
$HOME/miniconda/bin/conda config --set always_yes yes --set changeps1 no
66
$HOME/miniconda/bin/conda update -q conda
77
$HOME/miniconda/bin/conda info -a
8-
$HOME/miniconda/bin/conda install --quiet pip readline r-essentials
9-
$HOME/miniconda/bin/conda install --quiet --channel r rpy2
10-
$HOME/miniconda/bin/conda install --quiet -c plotly plotly-orca
8+
conda install --quiet pip readline r-essentials
9+
conda install --quiet --channel r rpy2
10+
wget --quiet https://github.com/plotly/orca/releases/download/v1.2.1/orca-1.2.1-x86_64.AppImage -O orca.AppImage
11+
chmod +x orca.AppImage

.travis/orca

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
xvfb-run -a ./orca.AppImage "$@"

0 commit comments

Comments
 (0)