Skip to content

Commit

Permalink
#105 display javareconf output
Browse files Browse the repository at this point in the history
  • Loading branch information
spoltier committed Dec 3, 2020
1 parent 2245058 commit 9fbbc5b
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 78 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
ls -la /etc/alternatives/javah
sudo update-alternatives --remove-all javah
echo library paths: $LD_LIBRARY_PATH
sudo R CMD javareconf -n | grep "Java version : "${{ matrix.java }} # fail fast
sudo R CMD javareconf -n | grep -i "Java version : "${{ matrix.java }} # fail fast
sudo R CMD javareconf
- name: Install dependencies
Expand Down
156 changes: 78 additions & 78 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,83 +1,83 @@
language: r
cache: packages
# language: r
# cache: packages

before_install:
- if $RUN_SETUP; then chmod +x travissetup.sh; ./travissetup.sh;
else echo hi there; fi
# before_install:
# - if $RUN_SETUP; then chmod +x travissetup.sh; ./travissetup.sh;
# else echo hi there; fi

r_packages:
- covr
# r_packages:
# - covr

matrix:
include:
- r: release
os: linux
dist: xenial
env: RUN_SETUP=false
- r: release
os: linux
dist: bionic # https://docs.travis-ci.com/user/reference/bionic/
env: RUN_SETUP=true
- r: release
os: linux
dist: bionic # https://docs.travis-ci.com/user/reference/bionic/
env:
- RUN_SETUP=true
- TZ="Asia/Kathmandu"
- XLCONNECT_JAVA_REPO_URL="https://jcenter.bintray.com"
- r: release
os: linux
dist: bionic # https://docs.travis-ci.com/user/reference/bionic/
env:
- RUN_SETUP=true
- TZ="Canada/Newfoundland"
- r: release
os: linux
dist: bionic # https://docs.travis-ci.com/user/reference/bionic/
env:
- RUN_SETUP=true
- TZ="Pacific/Marquesas"
# - r: release
# os: osx
# osx_image: xcode9.4 # https://docs.travis-ci.com/user/reference/osx/
# env: RUN_SETUP=true
- r: devel
os: linux
dist: xenial
env:
- RUN_SETUP=false
- XLCONNECT_JAVA_REPO_URL="https://jcenter.bintray.com"
- r: devel
os: linux
dist: bionic
env: RUN_SETUP=false
# - r: oldrel
# os: osx
# osx_image: xcode9.4
# env: RUN_SETUP=true
- r: oldrel
os: linux
dist: xenial
env: RUN_SETUP=false
- r: oldrel
os: linux
dist: bionic
env:
- RUN_SETUP=false
- XLCONNECT_JAVA_REPO_URL="https://jcenter.bintray.com"
- r: 3.2.5
os: linux
dist: bionic
env: RUN_SETUP=false
# matrix:
# include:
# - r: release
# os: linux
# dist: xenial
# env: RUN_SETUP=false
# - r: release
# os: linux
# dist: bionic # https://docs.travis-ci.com/user/reference/bionic/
# env: RUN_SETUP=true
# - r: release
# os: linux
# dist: bionic # https://docs.travis-ci.com/user/reference/bionic/
# env:
# - RUN_SETUP=true
# - TZ="Asia/Kathmandu"
# - XLCONNECT_JAVA_REPO_URL="https://jcenter.bintray.com"
# - r: release
# os: linux
# dist: bionic # https://docs.travis-ci.com/user/reference/bionic/
# env:
# - RUN_SETUP=true
# - TZ="Canada/Newfoundland"
# - r: release
# os: linux
# dist: bionic # https://docs.travis-ci.com/user/reference/bionic/
# env:
# - RUN_SETUP=true
# - TZ="Pacific/Marquesas"
# # - r: release
# # os: osx
# # osx_image: xcode9.4 # https://docs.travis-ci.com/user/reference/osx/
# # env: RUN_SETUP=true
# - r: devel
# os: linux
# dist: xenial
# env:
# - RUN_SETUP=false
# - XLCONNECT_JAVA_REPO_URL="https://jcenter.bintray.com"
# - r: devel
# os: linux
# dist: bionic
# env: RUN_SETUP=false
# # - r: oldrel
# # os: osx
# # osx_image: xcode9.4
# # env: RUN_SETUP=true
# - r: oldrel
# os: linux
# dist: xenial
# env: RUN_SETUP=false
# - r: oldrel
# os: linux
# dist: bionic
# env:
# - RUN_SETUP=false
# - XLCONNECT_JAVA_REPO_URL="https://jcenter.bintray.com"
# - r: 3.2.5
# os: linux
# dist: bionic
# env: RUN_SETUP=false

script: |
date
java -version
R CMD build --compact-vignettes=both --md5 .
export FULL_TEST_SUITE=1
R CMD check XLConnect*tar.gz
travis_wait 30 travis_retry Rscript -e 'covr::codecov(function_exclusions=c("onLoad", "onAttach", "xlcEnsureDependencies"))'
# script: |
# date
# java -version
# R CMD build --compact-vignettes=both --md5 .
# export FULL_TEST_SUITE=1
# R CMD check XLConnect*tar.gz
# travis_wait 30 travis_retry Rscript -e 'covr::codecov(function_exclusions=c("onLoad", "onAttach", "xlcEnsureDependencies"))'

notifications:
slack:
secure: THJdpmjCPabFEf6AQT/hLEH1e+7scOwyfPY5D0dRWaJF53fbqrfj/krYdhPeBt/EMFZqOh9ERO61DCl+OMPqsBpisbzPxR/+qv9hJN4A4Dhx6lr67pmmCOq0LcaZ7yV68H0y0yNrvrOkFV8yNiDBGC5VzmE3ywBJTB5x6krBrsg=
# notifications:
# slack:
# secure: THJdpmjCPabFEf6AQT/hLEH1e+7scOwyfPY5D0dRWaJF53fbqrfj/krYdhPeBt/EMFZqOh9ERO61DCl+OMPqsBpisbzPxR/+qv9hJN4A4Dhx6lr67pmmCOq0LcaZ7yV68H0y0yNrvrOkFV8yNiDBGC5VzmE3ywBJTB5x6krBrsg=

0 comments on commit 9fbbc5b

Please sign in to comment.