aboutsummaryrefslogtreecommitdiff
path: root/.circleci/config.yml
blob: 385e55135221e6d912d2995d4912a9afa2988c8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: 2
jobs:
  build:
    macos:
      # This is the last version using macOS 10.12, which has Python 2.6
      xcode: 9.2.0
    steps:
      - restore_cache:
          keys:
            - homebrew
      - run: brew update
      - save_cache:
          key: homebrew
          paths:
            - /usr/local/Homebrew
      - run: brew upgrade python
      - run: brew install pypy
      - checkout
      - run: /usr/bin/python2.6 run.py deps
      - run: /usr/bin/python2.6 run.py ci
      - run: /usr/bin/python2.7 run.py deps
      - run: /usr/bin/python2.7 run.py ci
      - run:
          command: /usr/bin/python2.7 run.py ci
          environment:
            OSCRYPTO_USE_OPENSSL: /usr/lib/libcrypto.dylib,/usr/lib/libssl.dylib
      - run: python3 run.py deps
      - run: python3 run.py ci
      - run:
          command: python3 run.py ci
          environment:
            OSCRYPTO_USE_OPENSSL: /usr/lib/libcrypto.dylib,/usr/lib/libssl.dylib
      - run: pypy run.py deps
      - run: pypy run.py ci