1. 17 Mar, 2017 1 commit
    • Jason Rhinelander's avatar
      Add VS 2017 build, and bump conda to 3.6 · cabbf610
      Jason Rhinelander authored
      This adds VS 2017 to the build matrix, plus various other small
      appveyor build changes:
      
      - conda version bumped from 3.5 to 3.6
      - build newer versions/architectures/python first (i.e. VS2017/x64/3.6
        is the first build, VS2015/x86/2.7 is the last)
      - stop building after a job failure: often a build failure in one
        occurs everywhere; this just stops processing jobs (freeing them up
        for other PRs) if an error is hit.
      
      Annoyingly, appveyor doesn't allow excluding tests: i.e. the test matrix
      is always dense (appveyor issue 386), so for now we'll just run
      everything.  (Once appveyor issue 386 is resolved, we can come back and
      cut this down to 4-5 builds).
      cabbf610
  2. 19 Dec, 2016 1 commit
    • Dean Moldovan's avatar
      Make sure add_subdirectory and find_package behave identically · b0f3885c
      Dean Moldovan authored
      Add a BUILD_INTERFACE and a pybind11::pybind11 alias for the interface
      library to match the installed target.
      
      Add new cmake tests for add_subdirectory and consolidates the
      .cpp and .py files needed for the cmake build tests:
      
      Before:
      tests
      |-- test_installed_module
      |   |-- CMakeLists.txt
      |   |-- main.cpp
      |   \-- test.py
      \-- test_installed_target
          |-- CMakeLists.txt
          |-- main.cpp
          \-- test.py
      
      After:
      tests
      \-- test_cmake_build
          |-- installed_module/CMakeLists.txt
          |-- installed_target/CMakeLists.txt
          |-- subdirectory_module/CMakeLists.txt
          |-- subdirectory_target/CMakeLists.txt
          |-- main.cpp
          \-- test.py
      b0f3885c
  3. 13 Dec, 2016 1 commit
  4. 11 Nov, 2016 1 commit
  5. 06 Sep, 2016 1 commit
  6. 22 Aug, 2016 1 commit
    • Dean Moldovan's avatar
      Workaround for random failure of pytest capture on Windows · b6ccdc95
      Dean Moldovan authored
      pytest can capture test output both globally (controlled by the cmd line
      flag --capture) or locally (`capsys` and `capfd` fixtures). Enabling both
      methods at the same time causes problems on Windows: test output is not
      captured sometimes, resulting in test failure. This happens seemingly at
      random.
      
      This workaround disables global output capture ("-s", i.e. "--capture=no")
      leaving only the local capture fixtures. As a side-effect test output on
      AppVeyor CI is a little messy, but this will have to do until a better
      solution is found.
      b6ccdc95
  7. 19 Aug, 2016 1 commit
    • Dean Moldovan's avatar
      Port tests to pytest · a0c1ccf0
      Dean Moldovan authored
      Use simple asserts and pytest's powerful introspection to make testing
      simpler. This merges the old .py/.ref file pairs into simple .py files
      where the expected values are right next to the code being tested.
      
      This commit does not touch the C++ part of the code and replicates the
      Python tests exactly like the old .ref-file-based approach.
      a0c1ccf0
  8. 15 Aug, 2016 1 commit
  9. 30 Jul, 2016 1 commit
  10. 08 Jul, 2016 2 commits
  11. 02 Jun, 2016 1 commit
  12. 13 Dec, 2015 1 commit
  13. 23 Oct, 2015 1 commit
  14. 18 Oct, 2015 1 commit