2019-05-13 16:51:58 -07:00
|
|
|
language: bash
|
2019-01-29 17:50:19 -08:00
|
|
|
|
2019-06-01 17:41:48 -07:00
|
|
|
# See https://github.com/amaiorano/vectrexy/blob/master/.travis.yml
|
|
|
|
# for ideas on installing vcpkg
|
|
|
|
|
2019-01-29 17:50:19 -08:00
|
|
|
matrix:
|
2019-05-13 16:51:58 -07:00
|
|
|
include:
|
|
|
|
# macOS
|
2019-06-24 10:17:57 -07:00
|
|
|
# - os: osx
|
|
|
|
# compiler: clang
|
|
|
|
# script:
|
|
|
|
# - python test/run.py
|
|
|
|
# - make ws
|
2019-05-13 16:51:58 -07:00
|
|
|
|
2019-06-24 10:17:57 -07:00
|
|
|
# # Linux
|
|
|
|
# - os: linux
|
|
|
|
# dist: xenial
|
|
|
|
# script:
|
|
|
|
# - python test/run.py
|
|
|
|
# - make ws
|
|
|
|
# env:
|
|
|
|
# - CC=gcc
|
|
|
|
# - CXX=g++
|
2019-06-09 14:27:45 -07:00
|
|
|
|
|
|
|
# Clang + Linux disabled for now
|
|
|
|
# - os: linux
|
|
|
|
# dist: xenial
|
|
|
|
# script: python test/run.py
|
|
|
|
# env:
|
|
|
|
# - CC=clang
|
|
|
|
# - CXX=clang++
|
2019-01-07 20:49:03 -08:00
|
|
|
|
2019-06-24 10:17:57 -07:00
|
|
|
# Windows
|
2019-06-23 18:32:18 -07:00
|
|
|
- os: windows
|
|
|
|
env:
|
|
|
|
- CMAKE_PATH="/c/Program Files/CMake/bin"
|
|
|
|
script:
|
2019-06-24 23:17:19 -07:00
|
|
|
- cd third_party/zlib
|
|
|
|
- cmake .
|
|
|
|
- cmake --build . --target install
|
|
|
|
- cd ../..
|
2019-06-24 23:28:35 -07:00
|
|
|
# - cd third_party/mbedtls
|
|
|
|
# - cmake .
|
|
|
|
# - cmake --build . --target install
|
|
|
|
# - cd ../..
|
2019-06-23 18:32:18 -07:00
|
|
|
- export PATH=$CMAKE_PATH:$PATH
|
2019-06-24 10:17:57 -07:00
|
|
|
- cd test
|
2019-06-24 23:27:44 -07:00
|
|
|
- cmake .
|
2019-06-24 10:17:57 -07:00
|
|
|
- cmake --build --parallel .
|
|
|
|
- ixwebsocket_unittest.exe
|
|
|
|
# - python test/run.py
|