| @@ -0,0 +1,38 @@ | |||||
| image: | |||||
| - Visual Studio 2017 | |||||
| configuration: Release | |||||
| clone_depth: 3 | |||||
| matrix: | |||||
| fast_finish: false | |||||
| skip_commits: | |||||
| # Add [av skip] to commit messages | |||||
| message: /\[av skip\]/ | |||||
| cache: | |||||
| - '%APPVEYOR_BUILD_FOLDER%\build' | |||||
| environment: | |||||
| global: | |||||
| CONDA_INSTALL_LOCN: C:\\Miniconda36-x64 | |||||
| install: | |||||
| - call %CONDA_INSTALL_LOCN%\Scripts\activate.bat | |||||
| - conda config --add channels conda-forge --force | |||||
| - conda install --yes --quiet flang jom | |||||
| - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 | |||||
| - set "LIB=%CONDA_INSTALL_LOCN%\Library\lib;%LIB%" | |||||
| - set "CPATH=%CONDA_INSTALL_LOCN%\Library\include;%CPATH%" | |||||
| before_build: | |||||
| - ps: if (-Not (Test-Path .\build)) { mkdir build } | |||||
| - cd build | |||||
| - cmake -G "NMake Makefiles JOM" -DCMAKE_Fortran_COMPILER=flang -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON .. | |||||
| build_script: | |||||
| - cmake --build . | |||||
| test_script: | |||||
| - ctest -j2 | |||||
| @@ -35,3 +35,9 @@ LAPACKE/example/xexample* | |||||
| # SED | # SED | ||||
| SRC/*-e | SRC/*-e | ||||
| LAPACKE/src/*-e | LAPACKE/src/*-e | ||||
| build* | |||||
| # DOCS documentation | |||||
| DOCS/man | |||||
| DOCS/explore-html | |||||
| output_err | |||||
| @@ -1,33 +1,32 @@ | |||||
| language: cpp | |||||
| language: c | |||||
| dist: xenial | |||||
| group: travis_latest | |||||
| git: | |||||
| depth: 3 | |||||
| quiet: true | |||||
| addons: | addons: | ||||
| apt: | apt: | ||||
| sources: | |||||
| - george-edison55-precise-backports # cmake | |||||
| packages: | packages: | ||||
| - cmake | |||||
| - cmake-data | |||||
| - gfortran | |||||
| os: | |||||
| - linux | |||||
| - osx | |||||
| env: | |||||
| - CMAKE_BUILD_TYPE=Release | |||||
| - CMAKE_BUILD_TYPE=Coverage | |||||
| - gfortran | |||||
| install: | |||||
| - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; | |||||
| then | |||||
| for pkg in gcc cmake; do | |||||
| if brew list -1 | grep -q "^${pkg}\$"; then | |||||
| brew outdated $pkg || brew upgrade $pkg; | |||||
| else | |||||
| brew install $pkg; | |||||
| fi | |||||
| done | |||||
| fi | |||||
| matrix: | |||||
| include: | |||||
| - os: linux | |||||
| env: CMAKE_BUILD_TYPE=Release | |||||
| - os: linux | |||||
| env: CMAKE_BUILD_TYPE=Coverage | |||||
| - os: osx | |||||
| env: CMAKE_BUILD_TYPE=Release | |||||
| before_install: | |||||
| - brew update > /dev/null | |||||
| - brew install gcc > /dev/null | |||||
| - os: osx | |||||
| env: CMAKE_BUILD_TYPE=Coverage | |||||
| before_install: | |||||
| - brew update > /dev/null | |||||
| - brew install gcc > /dev/null | |||||
| script: | script: | ||||
| - export PR=https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST | - export PR=https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST | ||||