Skip to content

Commit 1fc9100

Browse files
authored
Merge pull request tdhopper#18 from tdhopper/fix-build-32
Deploy without Conda
2 parents 664939c + aa54373 commit 1fc9100

File tree

2 files changed

+24
-15
lines changed

2 files changed

+24
-15
lines changed

.travis.yml

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,33 @@
1+
dist: xenial
2+
addons:
3+
artifacts: true
4+
apt:
5+
packages:
6+
- firefox-geckodriver
17
language: python
28
python:
3-
- '3.6'
9+
- '3.7'
410
notifications:
511
email: true
6-
before_install:
7-
- export PATH="./.travis:$HOME/miniconda/bin:$PATH"
8-
- sudo apt-get -qq update
9-
- bash .travis/install_conda.sh
10-
install: "pip install --quiet -r requirements.txt"
11-
dist: xenial
12+
install:
13+
- sudo add-apt-repository --yes ppa:marutter/rrutter3.5
14+
- sudo apt-get update --yes
15+
- sudo apt install r-api-3.5 --yes
16+
- sudo apt-get install r-cran-mgcv
17+
- sudo su - -c "R -e \"install.packages('ggplot2', repos='http://cran.rstudio.com/')\""
18+
- mkdir $HOME/orca
19+
- wget --quiet https://github.com/plotly/orca/releases/download/v1.2.1/orca-1.2.1-x86_64.AppImage -O $HOME/orca/orca
20+
- chmod +x $HOME/orca/orca
21+
- export PATH="${HOME}/orca:${PATH}"
22+
- pip install --quiet -r requirements.txt
23+
before_script:
24+
- echo $PATH
25+
- $HOME/orca/orca --help
26+
- orca --help
27+
- pip freeze
1228
services:
1329
- xvfb
1430
script: make travis
15-
after_script:
16-
- 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"
1731
before_deploy:
1832
- npm install netlify-cli -g
1933
deploy:
@@ -22,8 +36,3 @@ deploy:
2236
skip_cleanup: true
2337
on:
2438
all_branches: true
25-
addons:
26-
artifacts: true
27-
apt:
28-
packages:
29-
firefox-geckodriver

Examples.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"source": [
99
"%matplotlib inline\n",
1010
"\n",
11+
"import readline\n",
1112
"import altair as alt\n",
1213
"import pandas as pd\n",
1314
"import seaborn as sns\n",
@@ -104,7 +105,6 @@
104105
"outputs": [],
105106
"source": [
106107
"%%R\n",
107-
"install.packages(\"ggplot2\", repos='http://cran.us.r-project.org')\n",
108108
"library(ggplot2) \n",
109109
"theme_set(theme_grey(base_size = 24))"
110110
]

0 commit comments

Comments
 (0)