| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- # Python CircleCI 2.0 configuration file
- #
- # Check https://circleci.com/docs/2.0/language-python/ for more details
- #
- # Copyright (c) 2016-present, Facebook, Inc.
- # All rights reserved.
- #
- # This source code is licensed under the BSD-style license found in the
- # LICENSE file in the root directory of this source tree. An additional grant
- # of patent rights can be found in the PATENTS file in the same directory.
- #
- # Maybe one day this will work
- # "mac":
- # macos:
- # xcode: "9.0"
- # working_directory: ~/repo
- # steps:
- # - checkout
- # - run:
- # command: |
- # . .circleci/cmake_test.sh
- version: 2
- jobs:
- "py361":
- docker:
- - image: circleci/python:3.6.1
- working_directory: ~/repo
- steps:
- - checkout
- - run:
- command: |
- sudo pip install pybind11
- sudo python setup.py install
- . .circleci/cmake_test.sh
- "py353":
- docker:
- - image: circleci/python:3.5.3
- working_directory: ~/repo
- steps:
- - checkout
- - run:
- command: |
- sudo pip install pybind11
- sudo python setup.py install
- . .circleci/cmake_test.sh
- "py346":
- docker:
- - image: circleci/python:3.4.6
- working_directory: ~/repo
- steps:
- - checkout
- - run:
- command: |
- sudo pip install pybind11
- sudo python setup.py install
- . .circleci/cmake_test.sh
- "py336":
- docker:
- - image: circleci/python:3.3.6
- working_directory: ~/repo
- steps:
- - checkout
- - run:
- command: |
- sudo pip install pybind11
- sudo python setup.py install
- . .circleci/cmake_test.sh
- "py2713":
- docker:
- - image: circleci/python:2.7.13
- working_directory: ~/repo
- steps:
- - checkout
- - run:
- command: |
- sudo pip install pybind11
- sudo python setup.py install
- . .circleci/cmake_test.sh
- "gcc5":
- docker:
- - image: gcc:5
- working_directory: ~/repo
- steps:
- - checkout
- - run:
- command: |
- . .circleci/gcc_test.sh
- "gcc6":
- docker:
- - image: gcc:6
- working_directory: ~/repo
- steps:
- - checkout
- - run:
- command: |
- . .circleci/gcc_test.sh
- "gcc7":
- docker:
- - image: gcc:7
- working_directory: ~/repo
- steps:
- - checkout
- - run:
- command: |
- . .circleci/gcc_test.sh
- "gcclatest":
- docker:
- - image: gcc:latest
- working_directory: ~/repo
- steps:
- - checkout
- - run:
- command: |
- . .circleci/gcc_test.sh
- "debian-wheezy":
- docker:
- - image: debian:wheezy
- working_directory: ~/repo
- steps:
- - checkout
- - run:
- command: |
- . .circleci/setup_debian.sh
- . .circleci/gcc_test.sh
- . .circleci/cmake_test.sh
- "website-build":
- docker:
- - image: node:latest
- working_directory: ~/repo
- steps:
- - checkout
- - run:
- command: |
- git config --global user.email "[email protected]"
- git config --global user.name "Website Deployment Script"
- echo "machine github.com login cpuhrsch password $GITHUB_TOKEN" > ~/.netrc
- cd website && npm install && GIT_USER=cpuhrsch npm run publish-gh-pages
- workflows:
- version: 2
- build:
- jobs:
- - "py361"
- - "py353"
- - "py346"
- - "py336"
- - "py2713"
- - "gcc5"
- - "gcc6"
- - "gcc7"
- - "gcclatest"
- - "debian-wheezy"
- - "website-build"
|