File: config.yml

package info (click to toggle)
theano 1.0.3+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 30,752 kB
  • sloc: python: 141,182; ansic: 9,505; makefile: 259; sh: 214; pascal: 81
file content (45 lines) | stat: -rw-r--r-- 1,282 bytes parent folder | download
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
35
36
37
38
39
40
41
42
43
44
45
version: 2

jobs:
  build_pkgs:
    docker:
      - image: joaander/conda-build:20170905

    steps:
      - run:
          name: "Configure conda"
          command: "conda config --add channels mila-udem"
      - checkout
      - run:
          name: "Checkout Merge Commit"
          command: |
            if [[ -n "${CIRCLE_PR_NUMBER}" ]]
            then
                git fetch -u origin "+refs/pull/${CIRCLE_PR_NUMBER}/merge:pr/${CIRCLE_PR_NUMBER}/merge"
                git checkout -qf "pr/${CIRCLE_PR_NUMBER}/merge"
            fi
      - run:
          name: "Build Recipe"
          command: |
            export THEANO_VERSION=`python -c 'import versioneer; print(versioneer.get_version())'`
            conda build --py 2.7 conda
            conda build --py 3.5 conda
            conda build --py 3.6 conda
      - run:
          name: "Upload Tagged Versions"
          command: |
            if [[ -n "${CIRCLE_TAG}" ]]
            then
                anaconda -t $BINSTAR_TOKEN upload --user=mila-udem /opt/conda/conda-bld/linux-64/theano*
            fi
      - store_artifacts:
          path: /opt/conda/conda-bld/linux-64

workflows:
  version: 2
  build_and_test:
    jobs:
      - build_pkgs:
          filters:
            tags:
              only: /.*/