Skip to content

Commit ef44a73

Browse files
committed
Adds R to gitlab-CI and adds the ALStructure field test
Corrects a bug with a missing '-y' Adds a way to install R on Travis and the ALStructure field test Corrects a script name on the CI YML files Adds debug lines to the CI YML files Adds further CI debug Adds more CI debug More CI debug More CI debug More CI debug Adds a missing dependency to the CI build scripts Further CI debug and dependency adding Corrects issues with CRAN sources Adds a force to a missing verification Adds a force to a missing verification Fixes CI and removes all debug lines Fixes CI testing for ALStructure
1 parent 4f49d27 commit ef44a73

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ cache:
2222
tests:
2323
stage: tests
2424
script:
25+
- apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'
26+
- echo "deb http://cran.r-project.org/bin/linux/debian/ jessie-cran35/" >> /etc/apt/sources.list
2527
- apt-get update
2628
- apt-get install xz-utils
29+
- apt-get install -y --force-yes r-base libcurl4-openssl-dev libssl-dev
2730
- python -V # Print out python version for debugging
2831
- pip install virtualenv
2932
- virtualenv venv
@@ -34,6 +37,7 @@ tests:
3437
- tests/structure_field_test.sh
3538
- tests/fastStructure_field_test.sh
3639
- tests/maverick_field_test.sh
40+
- tests/alstructure_field_tests.sh
3741

3842
deployment:
3943
stage: deployment

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,18 @@ python:
88

99
install:
1010
- pip install .
11+
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
12+
- echo "deb https://cran.r-project.org/bin/linux/ubuntu/ trusty-cran35/" | sudo tee -a /etc/apt/sources.list
13+
- sudo apt-get update
14+
- sudo apt-get install -y r-base libcurl4-openssl-dev libssl-dev
1115

1216
# Run tests
1317
script:
1418
- py.test tests/*.py -v
1519
- tests/structure_field_test.sh
1620
- tests/fastStructure_field_test.sh
1721
- tests/maverick_field_test.sh
22+
- tests/alstructure_field_tests.sh
1823

1924
# Other stuff
2025
notifications:

0 commit comments

Comments
 (0)