|
| 1 | +version: 2 |
| 2 | +jobs: |
| 3 | + |
| 4 | + # -------------------------------------------------------------------------- |
| 5 | + # 0. py27_compat |
| 6 | + # -------------------------------------------------------------------------- |
| 7 | + py27_compat: |
| 8 | + docker: |
| 9 | + - image: continuumio/miniconda:latest |
| 10 | + # databases configuration |
| 11 | + - image: circleci/postgres:9.6.5-alpine-ram |
| 12 | + environment: |
| 13 | + POSTGRES_USER: postgres |
| 14 | + POSTGRES_DB: pandas_nosetest |
| 15 | + - image: circleci/mysql:8-ram |
| 16 | + environment: |
| 17 | + MYSQL_USER: "root" |
| 18 | + MYSQL_HOST: "localhost" |
| 19 | + MYSQL_ALLOW_EMPTY_PASSWORD: "true" |
| 20 | + MYSQL_DATABASE: "pandas_nosetest" |
| 21 | + environment: |
| 22 | + JOB: "2.7_COMPAT" |
| 23 | + ENV_FILE: "ci/circle-27-compat.yaml" |
| 24 | + LOCALE_OVERRIDE: "it_IT.UTF-8" |
| 25 | + MINICONDA_DIR: /home/ubuntu/miniconda3 |
| 26 | + steps: |
| 27 | + - checkout |
| 28 | + - run: |
| 29 | + name: build |
| 30 | + command: | |
| 31 | + ./ci/install_circle.sh |
| 32 | + ./ci/show_circle.sh |
| 33 | + - run: |
| 34 | + name: test |
| 35 | + command: ./ci/run_circle.sh --skip-slow --skip-network |
| 36 | + |
| 37 | + # -------------------------------------------------------------------------- |
| 38 | + # 1. py36_locale |
| 39 | + # -------------------------------------------------------------------------- |
| 40 | + py36_locale: |
| 41 | + docker: |
| 42 | + - image: continuumio/miniconda:latest |
| 43 | + # databases configuration |
| 44 | + - image: circleci/postgres:9.6.5-alpine-ram |
| 45 | + environment: |
| 46 | + POSTGRES_USER: postgres |
| 47 | + POSTGRES_DB: pandas_nosetest |
| 48 | + - image: circleci/mysql:8-ram |
| 49 | + environment: |
| 50 | + MYSQL_USER: "root" |
| 51 | + MYSQL_HOST: "localhost" |
| 52 | + MYSQL_ALLOW_EMPTY_PASSWORD: "true" |
| 53 | + MYSQL_DATABASE: "pandas_nosetest" |
| 54 | + |
| 55 | + environment: |
| 56 | + JOB: "3.6_LOCALE" |
| 57 | + ENV_FILE: "ci/circle-36-locale.yaml" |
| 58 | + LOCALE_OVERRIDE: "zh_CN.UTF-8" |
| 59 | + MINICONDA_DIR: /home/ubuntu/miniconda3 |
| 60 | + steps: |
| 61 | + - checkout |
| 62 | + - run: |
| 63 | + name: build |
| 64 | + command: | |
| 65 | + ./ci/install_circle.sh |
| 66 | + ./ci/show_circle.sh |
| 67 | + - run: |
| 68 | + name: test |
| 69 | + command: ./ci/run_circle.sh --skip-slow --skip-network |
| 70 | + |
| 71 | + # -------------------------------------------------------------------------- |
| 72 | + # 2. py36_locale_slow |
| 73 | + # -------------------------------------------------------------------------- |
| 74 | + py36_locale_slow: |
| 75 | + docker: |
| 76 | + - image: continuumio/miniconda:latest |
| 77 | + # databases configuration |
| 78 | + - image: circleci/postgres:9.6.5-alpine-ram |
| 79 | + environment: |
| 80 | + POSTGRES_USER: postgres |
| 81 | + POSTGRES_DB: pandas_nosetest |
| 82 | + - image: circleci/mysql:8-ram |
| 83 | + environment: |
| 84 | + MYSQL_USER: "root" |
| 85 | + MYSQL_HOST: "localhost" |
| 86 | + MYSQL_ALLOW_EMPTY_PASSWORD: "true" |
| 87 | + MYSQL_DATABASE: "pandas_nosetest" |
| 88 | + |
| 89 | + environment: |
| 90 | + JOB: "3.6_LOCALE_SLOW" |
| 91 | + ENV_FILE: "ci/circle-36-locale_slow.yaml" |
| 92 | + LOCALE_OVERRIDE: "zh_CN.UTF-8" |
| 93 | + MINICONDA_DIR: /home/ubuntu/miniconda3 |
| 94 | + steps: |
| 95 | + - checkout |
| 96 | + - run: |
| 97 | + name: build |
| 98 | + command: | |
| 99 | + ./ci/install_circle.sh |
| 100 | + ./ci/show_circle.sh |
| 101 | + - run: |
| 102 | + name: test |
| 103 | + command: ./ci/run_circle.sh --only-slow --skip-network |
| 104 | + |
| 105 | + # -------------------------------------------------------------------------- |
| 106 | + # 3. py35_ascii |
| 107 | + # -------------------------------------------------------------------------- |
| 108 | + py35_ascii: |
| 109 | + docker: |
| 110 | + - image: continuumio/miniconda:latest |
| 111 | + # databases configuration |
| 112 | + - image: circleci/postgres:9.6.5-alpine-ram |
| 113 | + environment: |
| 114 | + POSTGRES_USER: postgres |
| 115 | + POSTGRES_DB: pandas_nosetest |
| 116 | + - image: circleci/mysql:8-ram |
| 117 | + environment: |
| 118 | + MYSQL_USER: "root" |
| 119 | + MYSQL_HOST: "localhost" |
| 120 | + MYSQL_ALLOW_EMPTY_PASSWORD: "true" |
| 121 | + MYSQL_DATABASE: "pandas_nosetest" |
| 122 | + |
| 123 | + environment: |
| 124 | + JOB: "3.5_ASCII" |
| 125 | + ENV_FILE: "ci/circle-35-ascii.yaml" |
| 126 | + LOCALE_OVERRIDE: "C" |
| 127 | + MINICONDA_DIR: /home/ubuntu/miniconda3 |
| 128 | + steps: |
| 129 | + - checkout |
| 130 | + - run: |
| 131 | + name: build |
| 132 | + command: | |
| 133 | + ./ci/install_circle.sh |
| 134 | + ./ci/show_circle.sh |
| 135 | + - run: |
| 136 | + name: test |
| 137 | + command: ./ci/run_circle.sh --skip-slow --skip-network |
| 138 | + |
| 139 | + |
| 140 | +workflows: |
| 141 | + version: 2 |
| 142 | + build_and_test: |
| 143 | + jobs: |
| 144 | + - py27_compat |
| 145 | + - py36_locale |
| 146 | + - py36_locale_slow |
| 147 | + - py35_ascii |
0 commit comments