Skip to content

Commit 29c931a

Browse files
committed
authenticate plotly on travis
1 parent 4be37c7 commit 29c931a

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.travis/authenticate_plotly.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import plotly
2+
import os
3+
plotly.tools.set_credentials_file(username=os.environ.get('PLOTLY_USER'), api_key=os.environ.get('PLOTLY_API_KEY'))

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ clean:
1111
rm -f .Rhistory
1212

1313
travis: test render
14+
python ./.travis/ authenticate_plotly.py
1415

1516
test:
1617
python -m pytest tests/

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ dependencies:
66
- python>=3.6
77
- pip
88
- r-essentials
9-
- r:rpy2
9+
- rpy2

0 commit comments

Comments
 (0)