config.yml 18.8 KB
Newer Older
1
2
version: 2.1

3
# How to test the Linux jobs:
4
#   - Install CircleCI local CLI: https://circleci.com/docs/2.0/local-cli/
Edward Z. Yang's avatar
Edward Z. Yang committed
5
6
7
#   - circleci config process .circleci/config.yml > gen.yml && circleci local execute -c gen.yml --job binary_linux_wheel_py3.7
#     - Replace binary_linux_wheel_py3.7 with the name of the job you want to test.
#       Job names are 'name:' key.
8

9
10
binary_common: &binary_common
  parameters:
Edward Z. Yang's avatar
Edward Z. Yang committed
11
    # Edit these defaults to do a release
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
    build_version:
      description: "version number of release binary; by default, build a nightly"
      type: string
      default: ""
    pytorch_version:
      description: "PyTorch version to build against; by default, use a nightly"
      type: string
      default: ""
    # Don't edit these
    python_version:
      description: "Python version to build against (e.g., 3.7)"
      type: string
    unicode_abi:
      description: "Python 2.7 wheel only: whether or not we are cp27mu (default: no)"
      type: string
      default: ""
  environment:
    PYTHON_VERSION: << parameters.python_version >>
    BUILD_VERSION: << parameters.build_version >>
    PYTORCH_VERSION: << parameters.pytorch_version >>
    UNICODE_ABI: << parameters.unicode_abi >>
Edward Z. Yang's avatar
Edward Z. Yang committed
33
    CU_VERSION: cpu
34

Mingbo Wan's avatar
Mingbo Wan committed
35
36
37
38
39
40
41
42
smoke_test_common: &smoke_test_common
  <<: *binary_common
  docker:
    - image: 308535385114.dkr.ecr.us-east-1.amazonaws.com/torchaudio/smoke_test:d26af7d0-8458-face-book-84239b5c75c0
      aws_auth:
        aws_access_key_id: ${ECR_AWS_ACCESS_KEY}
        aws_secret_access_key: ${ECR_AWS_SECRET_ACCESS_KEY}

43
jobs:
44
45
46
47
48
49
50
51
52
53
54
  circleci_consistency:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off jinja2
            python .circleci/regenerate.py
            git diff --exit-code || (echo ".circleci/config.yml not in sync with config.yml.in! Run .circleci/regenerate.py to update config"; exit 1)

55
  binary_linux_wheel:
56
    <<: *binary_common
57
    docker:
58
      - image: "pytorch/manylinux-cuda100"
59
60
61
    resource_class: 2xlarge+
    steps:
      - checkout
62
      - run: packaging/build_wheel.sh
63
      - store_artifacts:
64
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
65
66
67
68
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
69
70

  binary_linux_conda:
71
    <<: *binary_common
72
    docker:
73
      - image: "pytorch/conda-cuda"
74
75
76
    resource_class: 2xlarge+
    steps:
      - checkout
77
      - run: packaging/build_conda.sh
78
79
      - store_artifacts:
          path: /opt/conda/conda-bld/linux-64
Edward Z. Yang's avatar
Edward Z. Yang committed
80
81
82
83
      - persist_to_workspace:
          root: /opt/conda/conda-bld/linux-64
          paths:
            - "*"
84

85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
  binary_macos_wheel:
    <<: *binary_common
    macos:
      xcode: "9.0"
    steps:
      - checkout
      - run:
          # Cannot easily deduplicate this as source'ing activate
          # will set environment variables which we need to propagate
          # to build_wheel.sh
          command: |
            curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
            sh conda.sh -b
            source $HOME/miniconda3/bin/activate
            packaging/build_wheel.sh
      - store_artifacts:
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
102
103
104
105
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121

  binary_macos_conda:
    <<: *binary_common
    macos:
      xcode: "9.0"
    steps:
      - checkout
      - run:
          command: |
            curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
            sh conda.sh -b
            source $HOME/miniconda3/bin/activate
            conda install -yq conda-build
            packaging/build_conda.sh
      - store_artifacts:
          path: /Users/distiller/miniconda3/conda-bld/osx-64
Edward Z. Yang's avatar
Edward Z. Yang committed
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set +x
            anaconda login \
                --username "$PYTORCH_BINARY_PJH5_CONDA_USERNAME" \
                --password "$PYTORCH_BINARY_PJH5_CONDA_PASSWORD"
            set -x
            anaconda upload ~/workspace/*.tar.bz2 -u pytorch-nightly --label main --no-progress --force

  # Requires org-member context
  binary_wheel_upload:
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
      - checkout
      - run:
          command: |
            pip install --user awscli
            export PATH="$HOME/.local/bin:$PATH"
            # Prevent credential from leaking
            set +x
            export AWS_ACCESS_KEY_ID="${PYTORCH_BINARY_AWS_ACCESS_KEY_ID}"
            export AWS_SECRET_ACCESS_KEY="${PYTORCH_BINARY_AWS_SECRET_ACCESS_KEY}"
            set -x
            for pkg in ~/workspace/*.whl; do
              aws s3 cp "$pkg" "s3://pytorch/whl/nightly/" --acl public-read
            done
165

Mingbo Wan's avatar
Mingbo Wan committed
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
      - run:
          command: |
            set -x
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            conda install -y -c pytorch-nightly torchaudio
            python -c "import torchaudio"

  smoke_test_linux_pip:
    <<: *smoke_test_common
    steps:
      - run:
          command: |
            set -x
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            pip install torchaudio_nightly -f https://download.pytorch.org/whl/nightly/torch_nightly.html
            python -c "import torchaudio"

  docker_image_build:
    machine:
      image: ubuntu-1604:201903-01
    resource_class: large
    environment:
      image_name: torchaudio/smoke_test
    steps:
      - checkout
      - run:
          name: build_docker image
          no_output_timeout: "1h"
          command: |
            cd .circleci/docker && docker build . -t ${image_name}:${CIRCLE_WORKFLOW_ID}
      - run:
          name: upload docker image
          no_output_timeout: "1h"
          command: |
            set +x
            export AWS_ACCESS_KEY_ID=${ECR_AWS_ACCESS_KEY}
            export AWS_SECRET_ACCESS_KEY=${ECR_AWS_SECRET_ACCESS_KEY}
            eval $(aws ecr get-login --region us-east-1 --no-include-email)
            set -x
            docker tag ${image_name}:${CIRCLE_WORKFLOW_ID} 308535385114.dkr.ecr.us-east-1.amazonaws.com/${image_name}:${CIRCLE_WORKFLOW_ID}
            docker push 308535385114.dkr.ecr.us-east-1.amazonaws.com/${image_name}:${CIRCLE_WORKFLOW_ID}

211
212
213
workflows:
  build:
    jobs:
214
      - circleci_consistency
Edward Z. Yang's avatar
Edward Z. Yang committed
215
      
216
217
218
219
220
221
222
223
224
225
226
227
228
      - binary_linux_wheel:
          name: binary_linux_wheel_py2.7
          python_version: "2.7"
      - binary_linux_wheel:
          name: binary_linux_wheel_py2.7_unicode
          python_version: "2.7"
          unicode_abi: "1"
      - binary_linux_wheel:
          name: binary_linux_wheel_py3.5
          python_version: "3.5"
      - binary_linux_wheel:
          name: binary_linux_wheel_py3.6
          python_version: "3.6"
229
230
231
      - binary_linux_wheel:
          name: binary_linux_wheel_py3.7
          python_version: "3.7"
232
233
234
235
236
237
238
239
240
241
242
243
244
      - binary_macos_wheel:
          name: binary_macos_wheel_py2.7
          python_version: "2.7"
      - binary_macos_wheel:
          name: binary_macos_wheel_py2.7_unicode
          python_version: "2.7"
          unicode_abi: "1"
      - binary_macos_wheel:
          name: binary_macos_wheel_py3.5
          python_version: "3.5"
      - binary_macos_wheel:
          name: binary_macos_wheel_py3.6
          python_version: "3.6"
245
246
247
      - binary_macos_wheel:
          name: binary_macos_wheel_py3.7
          python_version: "3.7"
248
249
250
251
252
253
254
255
256
      - binary_linux_conda:
          name: binary_linux_conda_py2.7
          python_version: "2.7"
      - binary_linux_conda:
          name: binary_linux_conda_py3.5
          python_version: "3.5"
      - binary_linux_conda:
          name: binary_linux_conda_py3.6
          python_version: "3.6"
257
258
259
      - binary_linux_conda:
          name: binary_linux_conda_py3.7
          python_version: "3.7"
260
261
262
263
264
265
266
267
268
      - binary_macos_conda:
          name: binary_macos_conda_py2.7
          python_version: "2.7"
      - binary_macos_conda:
          name: binary_macos_conda_py3.5
          python_version: "3.5"
      - binary_macos_conda:
          name: binary_macos_conda_py3.6
          python_version: "3.6"
269
270
271
      - binary_macos_conda:
          name: binary_macos_conda_py3.7
          python_version: "3.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
272
273
274
275
276
277
278
279

  nightly:
    jobs:
      - circleci_consistency
      
      - binary_linux_wheel:
          name: nightly_binary_linux_wheel_py2.7
          python_version: "2.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
280
281
282
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
283
284
285
286
287
      - binary_wheel_upload:
          name: nightly_binary_linux_wheel_py2.7_upload
          context: org-member
          requires:
            - nightly_binary_linux_wheel_py2.7
Edward Z. Yang's avatar
Edward Z. Yang committed
288
289
290
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
291
292
293
294
      - binary_linux_wheel:
          name: nightly_binary_linux_wheel_py2.7_unicode
          python_version: "2.7"
          unicode_abi: "1"
Edward Z. Yang's avatar
Edward Z. Yang committed
295
296
297
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
298
299
300
301
302
      - binary_wheel_upload:
          name: nightly_binary_linux_wheel_py2.7_unicode_upload
          context: org-member
          requires:
            - nightly_binary_linux_wheel_py2.7_unicode
Edward Z. Yang's avatar
Edward Z. Yang committed
303
304
305
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
306
307
308
      - binary_linux_wheel:
          name: nightly_binary_linux_wheel_py3.5
          python_version: "3.5"
Edward Z. Yang's avatar
Edward Z. Yang committed
309
310
311
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
312
313
314
315
316
      - binary_wheel_upload:
          name: nightly_binary_linux_wheel_py3.5_upload
          context: org-member
          requires:
            - nightly_binary_linux_wheel_py3.5
Mingbo Wan's avatar
Mingbo Wan committed
317
318
319
320
321
322
323
324
325
326
      - smoke_test_linux_pip:
          name: nightly_binary_linux_wheel_py3.5_smoke_test_pip
          python_version: "3.5"
          requires:
            - nightly_binary_linux_wheel_py3.5_upload
      - smoke_test_linux_conda:
          name: nightly_binary_linux_wheel_py3.5_smoke_test_conda
          python_version: "3.5"
          requires:
            - nightly_binary_linux_wheel_py3.5_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
327
328
329
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
330
331
332
      - binary_linux_wheel:
          name: nightly_binary_linux_wheel_py3.6
          python_version: "3.6"
Edward Z. Yang's avatar
Edward Z. Yang committed
333
334
335
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
336
337
338
339
340
      - binary_wheel_upload:
          name: nightly_binary_linux_wheel_py3.6_upload
          context: org-member
          requires:
            - nightly_binary_linux_wheel_py3.6
Mingbo Wan's avatar
Mingbo Wan committed
341
342
343
344
345
346
347
348
349
350
      - smoke_test_linux_pip:
          name: nightly_binary_linux_wheel_py3.6_smoke_test_pip
          python_version: "3.6"
          requires:
            - nightly_binary_linux_wheel_py3.6_upload
      - smoke_test_linux_conda:
          name: nightly_binary_linux_wheel_py3.6_smoke_test_conda
          python_version: "3.6"
          requires:
            - nightly_binary_linux_wheel_py3.6_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
351
352
353
          filters:
            branches:
              only: nightly
354
355
356
      - binary_linux_wheel:
          name: nightly_binary_linux_wheel_py3.7
          python_version: "3.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
357
358
359
          filters:
            branches:
              only: nightly
360
361
362
363
364
      - binary_wheel_upload:
          name: nightly_binary_linux_wheel_py3.7_upload
          context: org-member
          requires:
            - nightly_binary_linux_wheel_py3.7
Mingbo Wan's avatar
Mingbo Wan committed
365
366
367
368
369
370
371
372
373
374
      - smoke_test_linux_pip:
          name: nightly_binary_linux_wheel_py3.7_smoke_test_pip
          python_version: "3.7"
          requires:
            - nightly_binary_linux_wheel_py3.7_upload
      - smoke_test_linux_conda:
          name: nightly_binary_linux_wheel_py3.7_smoke_test_conda
          python_version: "3.7"
          requires:
            - nightly_binary_linux_wheel_py3.7_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
375
376
377
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
378
379
380
      - binary_macos_wheel:
          name: nightly_binary_macos_wheel_py2.7
          python_version: "2.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
381
382
383
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
384
385
386
387
388
      - binary_wheel_upload:
          name: nightly_binary_macos_wheel_py2.7_upload
          context: org-member
          requires:
            - nightly_binary_macos_wheel_py2.7
Edward Z. Yang's avatar
Edward Z. Yang committed
389
390
391
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
392
393
394
395
      - binary_macos_wheel:
          name: nightly_binary_macos_wheel_py2.7_unicode
          python_version: "2.7"
          unicode_abi: "1"
Edward Z. Yang's avatar
Edward Z. Yang committed
396
397
398
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
399
400
401
402
403
      - binary_wheel_upload:
          name: nightly_binary_macos_wheel_py2.7_unicode_upload
          context: org-member
          requires:
            - nightly_binary_macos_wheel_py2.7_unicode
Edward Z. Yang's avatar
Edward Z. Yang committed
404
405
406
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
407
408
409
      - binary_macos_wheel:
          name: nightly_binary_macos_wheel_py3.5
          python_version: "3.5"
Edward Z. Yang's avatar
Edward Z. Yang committed
410
411
412
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
413
414
415
416
417
      - binary_wheel_upload:
          name: nightly_binary_macos_wheel_py3.5_upload
          context: org-member
          requires:
            - nightly_binary_macos_wheel_py3.5
Edward Z. Yang's avatar
Edward Z. Yang committed
418
419
420
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
421
422
423
      - binary_macos_wheel:
          name: nightly_binary_macos_wheel_py3.6
          python_version: "3.6"
Edward Z. Yang's avatar
Edward Z. Yang committed
424
425
426
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
427
428
429
430
431
      - binary_wheel_upload:
          name: nightly_binary_macos_wheel_py3.6_upload
          context: org-member
          requires:
            - nightly_binary_macos_wheel_py3.6
Edward Z. Yang's avatar
Edward Z. Yang committed
432
433
434
          filters:
            branches:
              only: nightly
435
436
437
      - binary_macos_wheel:
          name: nightly_binary_macos_wheel_py3.7
          python_version: "3.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
438
439
440
          filters:
            branches:
              only: nightly
441
442
443
444
445
      - binary_wheel_upload:
          name: nightly_binary_macos_wheel_py3.7_upload
          context: org-member
          requires:
            - nightly_binary_macos_wheel_py3.7
Edward Z. Yang's avatar
Edward Z. Yang committed
446
447
448
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
449
450
451
      - binary_linux_conda:
          name: nightly_binary_linux_conda_py2.7
          python_version: "2.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
452
453
454
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
455
456
457
458
459
      - binary_conda_upload:
          name: nightly_binary_linux_conda_py2.7_upload
          context: org-member
          requires:
            - nightly_binary_linux_conda_py2.7
Edward Z. Yang's avatar
Edward Z. Yang committed
460
461
462
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
463
464
465
      - binary_linux_conda:
          name: nightly_binary_linux_conda_py3.5
          python_version: "3.5"
Edward Z. Yang's avatar
Edward Z. Yang committed
466
467
468
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
469
470
471
472
473
      - binary_conda_upload:
          name: nightly_binary_linux_conda_py3.5_upload
          context: org-member
          requires:
            - nightly_binary_linux_conda_py3.5
Mingbo Wan's avatar
Mingbo Wan committed
474
475
476
477
478
479
480
481
482
483
      - smoke_test_linux_pip:
          name: nightly_binary_linux_conda_py3.5_smoke_test_pip
          python_version: "3.5"
          requires:
            - nightly_binary_linux_conda_py3.5_upload
      - smoke_test_linux_conda:
          name: nightly_binary_linux_conda_py3.5_smoke_test_conda
          python_version: "3.5"
          requires:
            - nightly_binary_linux_conda_py3.5_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
484
485
486
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
487
488
489
      - binary_linux_conda:
          name: nightly_binary_linux_conda_py3.6
          python_version: "3.6"
Edward Z. Yang's avatar
Edward Z. Yang committed
490
491
492
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
493
494
495
496
497
      - binary_conda_upload:
          name: nightly_binary_linux_conda_py3.6_upload
          context: org-member
          requires:
            - nightly_binary_linux_conda_py3.6
Mingbo Wan's avatar
Mingbo Wan committed
498
499
500
501
502
503
504
505
506
507
      - smoke_test_linux_pip:
          name: nightly_binary_linux_conda_py3.6_smoke_test_pip
          python_version: "3.6"
          requires:
            - nightly_binary_linux_conda_py3.6_upload
      - smoke_test_linux_conda:
          name: nightly_binary_linux_conda_py3.6_smoke_test_conda
          python_version: "3.6"
          requires:
            - nightly_binary_linux_conda_py3.6_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
508
509
510
          filters:
            branches:
              only: nightly
511
512
513
      - binary_linux_conda:
          name: nightly_binary_linux_conda_py3.7
          python_version: "3.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
514
515
516
          filters:
            branches:
              only: nightly
517
518
519
520
521
      - binary_conda_upload:
          name: nightly_binary_linux_conda_py3.7_upload
          context: org-member
          requires:
            - nightly_binary_linux_conda_py3.7
Mingbo Wan's avatar
Mingbo Wan committed
522
523
524
525
526
527
528
529
530
531
      - smoke_test_linux_pip:
          name: nightly_binary_linux_conda_py3.7_smoke_test_pip
          python_version: "3.7"
          requires:
            - nightly_binary_linux_conda_py3.7_upload
      - smoke_test_linux_conda:
          name: nightly_binary_linux_conda_py3.7_smoke_test_conda
          python_version: "3.7"
          requires:
            - nightly_binary_linux_conda_py3.7_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
532
533
534
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
535
536
537
      - binary_macos_conda:
          name: nightly_binary_macos_conda_py2.7
          python_version: "2.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
538
539
540
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
541
542
543
544
545
      - binary_conda_upload:
          name: nightly_binary_macos_conda_py2.7_upload
          context: org-member
          requires:
            - nightly_binary_macos_conda_py2.7
Edward Z. Yang's avatar
Edward Z. Yang committed
546
547
548
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
549
550
551
      - binary_macos_conda:
          name: nightly_binary_macos_conda_py3.5
          python_version: "3.5"
Edward Z. Yang's avatar
Edward Z. Yang committed
552
553
554
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
555
556
557
558
559
      - binary_conda_upload:
          name: nightly_binary_macos_conda_py3.5_upload
          context: org-member
          requires:
            - nightly_binary_macos_conda_py3.5
Edward Z. Yang's avatar
Edward Z. Yang committed
560
561
562
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
563
564
565
      - binary_macos_conda:
          name: nightly_binary_macos_conda_py3.6
          python_version: "3.6"
Edward Z. Yang's avatar
Edward Z. Yang committed
566
567
568
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
569
570
571
572
      - binary_conda_upload:
          name: nightly_binary_macos_conda_py3.6_upload
          context: org-member
          requires:
573
            - nightly_binary_macos_conda_py3.6
Edward Z. Yang's avatar
Edward Z. Yang committed
574
575
576
          filters:
            branches:
              only: nightly
577
578
579
      - binary_macos_conda:
          name: nightly_binary_macos_conda_py3.7
          python_version: "3.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
580
581
582
          filters:
            branches:
              only: nightly
583
584
585
586
      - binary_conda_upload:
          name: nightly_binary_macos_conda_py3.7_upload
          context: org-member
          requires:
Edward Z. Yang's avatar
Edward Z. Yang committed
587
588
589
            - nightly_binary_macos_conda_py3.7
          filters:
            branches:
Mingbo Wan's avatar
Mingbo Wan committed
590
591
592
593
594
595
596
597
598
599
600
              only: nightly
  docker_build:
    triggers:
      - schedule:
          cron: "0 10 * * 0"
          filters:
            branches:
              only:
                - master
    jobs:
      - docker_image_build