SHARE
TWEET

Untitled

a guest May 21st, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: 2
  2. jobs:
  3.   test:
  4.     docker:
  5.     - image: python:3.6
  6.       environment:
  7.         CC_TEST_REPORTER_ID: 99b78a6c2994863b843db3a99db97d7f9a12c0a0350a55870bacae7079be09a6
  8.         SERVER_DEV: tuanvm@123.31.32.150
  9.         PROJECT_PATH: tracking/
  10.         APP_NAME: tracking
  11.     steps:
  12.     - checkout
  13.     - restore_cache:
  14.         key: pip-{{checksum "requirements.txt"}}
  15.     - run: pip install -r requirements.txt
  16.     - save_cache:
  17.         key: pip-{{checksum "requirements.txt"}}
  18.         paths:
  19.         - ~/.cache/pip
  20.     - run:
  21.         name: Install Code Climate reporter
  22.         command: |
  23.           curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 -o ./cc-test-reporter
  24.           chmod +x ./cc-test-reporter
  25.  
  26.     - run: |
  27.         cp .env.test .env
  28.         source .env
  29.     - run: |
  30.         ./cc-test-reporter before-build
  31.         pytest
  32.         ./cc-test-reporter after-build
  33. workflows:
  34.   version: 2
  35.   everything:
  36.     jobs:
  37.     - test
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top