Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9445] Re-enable macOS on circleCI. #1056

Merged
merged 22 commits into from
Mar 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
f29ebe8
Re-enable macOS on circleCI.
adiroiban May 13, 2018
b4c722e
Merge branch 'trunk' into 9445-reenable-macos-circleci
glyph Jun 24, 2018
6b94d6f
Merge branch 'trunk' into 9445-reenable-macos-circleci
glyph Jul 8, 2018
490334c
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
altendky Sep 5, 2018
15aa757
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
altendky Sep 6, 2018
839e8a6
Add 3.7 to Circle
altendky Sep 6, 2018
ac3c09b
Maybe xcode 10.0.0 will get us Python 3?
altendky Sep 6, 2018
cf5de86
explicitly call python2
altendky Sep 6, 2018
77ce6f3
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
altendky Sep 6, 2018
27626d6
set PATH first to avoid warning from virtualenv
altendky Sep 6, 2018
d6682ee
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
altendky Sep 7, 2018
732cfaa
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
altendky Sep 9, 2018
184c999
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
altendky Sep 16, 2018
e112336
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
altendky Sep 25, 2018
cff26a7
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
altendky Oct 12, 2018
d8c6194
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
altendky Oct 16, 2018
6313cb5
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
altendky Oct 26, 2018
5930920
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
altendky Nov 23, 2018
3a96212
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
altendky Jan 13, 2019
2146fa3
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
altendky Feb 4, 2019
b6bcb40
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
glyph Feb 15, 2019
5f4ad3f
Merge branch 'trunk' into 9445-altendky-reenable-macos-circleci
glyph Feb 23, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,74 @@ jobs:
command: |
tox -r -e apidocs

#
# MacOS with Python2.7 and default reactor.
#
macos_py27_default_reactor:
macos:
# We don't use the xcode, but we need to put something here.
xcode: "10.0.0"

working_directory: ~/repo
steps:
# Get the source.
- checkout

- run:
name: Prepare the macOS environment.
command: |
echo 'export PATH=/usr/local/bin:$PATH:/Users/distiller/Library/Python/2.7/bin' >> $BASH_ENV
python2 --version
pip2 install -q --user --ignore-installed --upgrade virtualenv
pip2 install -q tox --user

# Run tests with tox without any cached dependencies.
- run:
name: Test with the default reactor.
command: |
tox -r -e py27-alldeps-withcov-posix twisted

#
# MacOS with Python3.7 and default reactor.
#
macos_py37_default_reactor:
macos:
# We don't use the xcode, but we need to put something here.
xcode: "10.0.0"

working_directory: ~/repo
steps:
# Get the source.
- checkout

- run:
name: Prepare the macOS environment.
command: |
echo 'export PATH=/usr/local/bin:$PATH:/Users/distiller/Library/Python/3.7/bin' >> $BASH_ENV
python3 --version
pip3 install -q --user --ignore-installed --upgrade virtualenv
pip3 install -q tox --user

# Run tests with tox without any cached dependencies.
- run:
name: Test with the default reactor.
command: |
tox -r -e py37-alldeps-withcov-posix twisted


# First we run the static checkers, and only if they pass we spin the macOS.
# in this way we should save some macOS minutes as we only have 1000h per month.
workflows:
version: 2
all-tests:
jobs:
- static_checkers
- documentation
- macos_py27_default_reactor:
requires:
- static_checkers
- documentation
- macos_py37_default_reactor:
requires:
- static_checkers
- documentation
Empty file.