NS/.travis.yml
Brett Caswell 36c78acbce
PR Merge of Patch 63 to Patch 61 (#6)
* handle particles project VC++ compilation errors with MVCS and project property changes

 - retarget to v142 platformtoolset
 - remove explicit windows SDK version; use latest by default
 - remove settings that are otherwise default values in project or are best determined by solution

* attempt to handle clang++ issues regarding unsupported c++11 features

* reset file changes to particledefs.h

* removing PARTICLEDLL_API definition and replacing usage with extern "C" block statements

* add g++ compiler option to specify c++11 standard

* attempt to resolve forward enum errors by adding std to base cflags

* replacing deprecated libstdc++ and removing -lstdc++ flag, updating MacOSX10 sdk version

* small refactor to Makefiles, and add  libstdc++ back to linux build

* remove added type to enum

* reset makefile changes that may be causing unexpected linux build failures

* refactoring std=c++11 declarations in Makefile to mitgate linux build failing

* ensure std is set for hl_cdll make

* attempt to define a standard library to resolve vector initialization_list constructor issue

* attempt to update MacOS sdk, set minimum os to be 10.7, and include export in travis ci to define deployment target
2020-07-05 11:11:06 -05:00

59 lines
No EOL
1.4 KiB
YAML

language: cpp
matrix:
include:
- os: linux
dist: xenial
compiler: gcc
name: "Ubuntu xenial"
script: cd main/source/linux && make
env: OPJ_CI_ARCH=i386
addons:
apt:
packages:
- gcc-multilib
- g++-multilib
- libc6-i386
- mesa-common-dev
- libcurl4-openssl-dev:i386
- libpng12-dev:i386
- os: linux
dist: trusty
compiler: gcc
name: "Ubuntu trusty"
script: cd main/source/linux && make
env: OPJ_CI_ARCH=i386
addons:
apt:
packages:
- gcc-multilib
- g++-multilib
- libc6-i386
- libcurl4-openssl-dev:i386
- libpng12-dev:i386
- os: osx
compiler: clang
before_script:
- export CC=clang
- export CPLUS=clang++
- export MACOSX_DEPLOYMENT_TARGET=10.10
script: cd main/source/linux && make
allow_failures:
- os: linux
dist: bionic
compiler: gcc
name: "Ubuntu bionic"
script: cd main/source/linux && make
env: OPJ_CI_ARCH=i386
addons:
apt:
packages:
- gcc-multilib
- g++-multilib
- libc6-i386
- mesa-common-dev
- libcurl4-openssl-dev
- libpng-dev