diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index bac36b9..0000000 --- a/.appveyor.yml +++ /dev/null @@ -1,65 +0,0 @@ -build: false - -branches: - only: - - master - -platform: - - x64 - -image: - - Visual Studio 2017 - - Visual Studio 2015 - -environment: - matrix: - - MINICONDA: C:\myname-conda - -init: - - "ECHO %MINICONDA%" - - if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" set VCVARPATH="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" - - if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" set VCARGUMENT=%PLATFORM% - - if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" set VCVARPATH="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" - - echo "%VCVARPATH% %VCARGUMENT%" - - "%VCVARPATH% %VCARGUMENT%" - - ps: if($env:Platform -eq "x64"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe' C:\Miniconda.exe; echo "Done"} - - ps: if($env:Platform -eq "x86"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86.exe' C:\Miniconda.exe; echo "Done"} - - cmd: C:\Miniconda.exe /S /D=C:\myname-conda - - "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%MINICONDA%\\Library\\bin;%PATH%" - -install: - # Set environment using Conda - - conda config --set always_yes yes --set changeps1 no - - conda update -q conda - - conda info -a - - conda install -c conda-forge mamba - - > - mamba install -c conda-forge - cmake - xtensor - xsimd - eigen - python - numpy - pyxtensor - catch2 - h5py - highfive - xdmfwrite_highfive - xdmfwrite_h5py - gmatelastic - gmatnonlinearelastic - gmatelastoplastic - gmatelastoplasticfinitestrainsimo - gmatelastoplasticqpot - # Build/install the library - - cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=%MINICONDA%\\LIBRARY -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_TESTS=ON -DBUILD_EXAMPLES=OFF . - - nmake - - nmake install - - python setup.py build - - python setup.py install - -build_script: - # Run tests - - .\test\basic\test-basic - - .\test\gmat\test-gmat diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index cee8b5b..0000000 --- a/.travis.yml +++ /dev/null @@ -1,113 +0,0 @@ -language: cpp -dist: xenial -env: -matrix: - fast_finish: true - include: - - os: linux - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-5 - env: COMPILER=gcc GCC=5 - - os: linux - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-6 - env: COMPILER=gcc GCC=6 - - os: linux - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-7 - env: COMPILER=gcc GCC=7 - - os: linux - addons: - apt: - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-xenial-6.0 - packages: - - clang-6.0 - env: COMPILER=clang CLANG=6.0 - - os: osx - osx_image: xcode8 - compiler: clang -env: - global: - - MINCONDA_VERSION="latest" - - MINCONDA_LINUX="Linux-x86_64" - - MINCONDA_OSX="MacOSX-x86_64" -before_install: - - | - # Configure build variables - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - if [[ "$COMPILER" == "gcc" ]]; then - export CXX=g++-$GCC CC=gcc-$GCC; - fi - if [[ "$COMPILER" == "clang" ]]; then - export CXX=clang++-$CLANG CC=clang-$CLANG; - fi - elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - export CXX=clang++ CC=clang; - fi -install: - # Set environment using Conda - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - MINCONDA_OS=$MINCONDA_LINUX; - elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - MINCONDA_OS=$MINCONDA_OSX; - fi - - wget "http://repo.continuum.io/miniconda/Miniconda3-$MINCONDA_VERSION-$MINCONDA_OS.sh" -O miniconda.sh; - - bash miniconda.sh -b -p $HOME/miniconda - - export PATH="$HOME/miniconda/bin:$PATH" - - hash -r - - conda config --set always_yes yes --set changeps1 no - - conda update -q conda - - conda install -c conda-forge mamba - - > - mamba install -c conda-forge - cmake - xtensor - xsimd - eigen - python - numpy - pyxtensor - catch2 - h5py - highfive - xdmfwrite_highfive - xdmfwrite_h5py - gmatelastic - gmatnonlinearelastic - gmatelastoplastic - gmatelastoplasticfinitestrainsimo - gmatelastoplasticqpot - python-gmatelastic - # Build/install the library - - cmake . -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON - - make - - sudo make install - - python setup.py build - - python setup.py install -script: - # Run tests - - ./test/basic/test-basic - - ./test/gmat/test-gmat - # Run examples - - ./docs/examples/statics_FixedDisplacements_LinearElastic_example - - ./docs/examples/statics_FixedDisplacements_LinearElastic_manual_partition - # - ./docs/examples/statics_Periodic_LinearElastic_main - # - ./docs/examples/statics_Periodic_NonLinearElastic_main - # - ./docs/examples/statics_Periodic_ElastoPlastic_main - # - ./docs/examples/statics_Periodic_ElastoPlasticFiniteStrainSimo_main - - python ./docs/examples/statics/FixedDisplacements_LinearElastic/example.py --no-plot - - python ./docs/examples/statics/FixedDisplacements_LinearElastic/manual_partition.py --no-plot