aboutsummaryrefslogtreecommitdiff
path: root/.circleci/config.yml
blob: e135408492916602ce42b47e738d9bd30955277b (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
version: 2
jobs:
  py26:
    macos:
      # macOS 10.12, last version with Python 2.6
      xcode: 9.0.1
    steps:
      - checkout
      - run: /usr/bin/python2.6 run.py deps
      - run: /usr/bin/python2.6 run.py ci
  pypy:
    macos:
      # macOS 10.14.4
      xcode: 10.3.0
    steps:
      - checkout
      - run: curl --location -O https://bitbucket.org/pypy/pypy/downloads/pypy2.7-v7.3.1-osx64.tar.bz2
      - run: tar xvf pypy2.7-v7.3.1-osx64.tar.bz2
      - run: mv pypy2.7-v7.3.1-osx64 pypy
      - run: xattr -rc pypy
      - run: ./pypy/bin/pypy -m ensurepip
      - run: ./pypy/bin/pypy run.py deps
      - run: ./pypy/bin/pypy run.py ci
workflows:
  version: 2
  python-26:
    jobs:
      - py26
  python-pypy:
    jobs:
      - pypy