Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,35 @@
language: python

matrix:
include:
- python: 3.6
- python: 3.7
- os: linux
dist: xenial
python: 3.6
- os: linux
dist: xenial
python: 3.7

before_install:
- |
sudo apt-get install -y lsb-release
sudo apt-key adv \
--keyserver keyserver.ubuntu.com \
--recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository \
--yes \
"deb https://cloud.r-project.org/bin/linux/ubuntu/ $(lsb_release -c -s)-cran36/"
cat /etc/apt/sources.list
sudo apt-get update -qq
sudo apt-get install -y r-base

cache: pip

install:
- pip install -Iv rpy2==3.3.3
- pip install git+https://github.com/JGCRI/gcam_reader
- pip install git+https://github.com/JGCRI/tethys
- pip install git+https://github.com/JGCRI/xanthos
- pip install .

script:
- python -m unittest
3 changes: 2 additions & 1 deletion cassandra/compfactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
'GcamComponent': comp.GcamComponent,
'FldgenComponent': comp.FldgenComponent,
'HectorStubComponent': comp.HectorStubComponent,
'TgavStubComponent': comp.TgavStubComponent,
'TethysComponent': comp.TethysComponent,
'XanthosComponent': comp.XanthosComponent,
'DummyComponent': comp.DummyComponent,
'DummyComponent': comp.DummyComponent
}


Expand Down
Loading