tddium.yml 3.55 KB
Newer Older
Ben Patterson committed
1
tddium:
2
  :firefox: '28.0'
3
  :timeout: 5400
Ben Patterson committed
4 5 6 7 8 9
  :timeout_hook: 900
  :tool_config:
    git:
      :version: "1.8.5.5"
  :hooks:
    :pre_setup: "virtualenv $HOME/python-env && $HOME/python-env/bin/pip install -r requirements/edx/paver.txt && $HOME/python-env/bin/pip install -r requirements/edx/pre.txt && $HOME/python-env/bin/pip install -r requirements/edx/base.txt && $HOME/python-env/bin/pip install -r requirements/edx/github.txt && $HOME/python-env/bin/pip install -r requirements/edx/local.txt && $HOME/python-env/bin/pip install -r requirements/edx/post.txt"
Minh Tue Vo committed
10
    :post_worker: 'python ./scripts/post_worker.py'
Ben Patterson committed
11 12 13 14 15 16 17 18 19 20
  :cache:
    :key_paths:
      - requirements/edx/paver.txt
      - requirements/edx/pre.txt
      - requirements/edx/base.txt
      - requirements/edx/github.txt
      - requirements/edx/local.txt
      - requirements/edx/post.txt
      - package.json
  :mongodb:
Ben Patterson committed
21
    :version: "2.6.4"
Ben Patterson committed
22 23 24 25 26 27 28 29 30 31
  :mysql:
    :version: "5.5"
  :python:
    :python_version: "2.7"
  :headless: true
  :java:
    :java_version: "java-7-openjdk"
  :test_pattern: 'none'
  :tests:
    - :type: custom
32
      :command: paver run_quality && bash ./scripts/post_quality_build.sh
Ben Patterson committed
33 34 35 36 37 38
      :invocation: single
      :output: exit-status
      :report_files:
      - "reports/diff_quality/diff_quality_pylint.html"
    - :type: junit
      :mode: basic
39
      :command: bash ./scripts/run_ut.sh && python ./scripts/cov_merge.py unit && python ./scripts/metrics/publish.py
Ben Patterson committed
40 41 42 43 44 45 46 47 48 49 50 51 52 53
      :invocation: single
      :output: exit-status
      :report_files:
      - "reports/cms/nosetests.xml"
      - "reports/common/lib/capa/nosetests.xml"
      - "reports/common/lib/calc/nosetests.xml"
      - "reports/common/lib/chem/nosetests.xml"
      - "reports/common/lib/sandbox-packages/nosetests.xml"
      - "reports/common/lib/symmath/nosetests.xml"
      - "reports/common/lib/xmodule/nosetests.xml"
      - "reports/lms/nosetests.xml"
      - "reports/javascript/javascript_xunit.xml"
    - :type: junit
      :mode: basic
54
      :command: paver test_acceptance -s lms --extra_args="-v 3 --tag shard_1"
Ben Patterson committed
55 56 57 58 59 60
      :invocation: single
      :output: exit-status
      :report_files:
      - "reports/acceptance/lms.xml"
    - :type: junit
      :mode: basic
61
      :command: paver test_acceptance -s lms --extra_args="-v 3 --tag shard_2"
Ben Patterson committed
62 63 64
      :invocation: single
      :output: exit-status
      :report_files:
65
      - "reports/acceptance/lms.xml"
Ben Patterson committed
66 67
    - :type: junit
      :mode: basic
68
      :command: paver test_acceptance -s cms --extra_args="-v 3 --tag shard_1"
Ben Patterson committed
69 70 71 72 73 74
      :invocation: single
      :output: exit-status
      :report_files:
      - "reports/acceptance/cms.xml"
    - :type: junit
      :mode: basic
75
      :command: paver test_acceptance -s cms --extra_args="-v 3 --tag shard_2 --tag shard_3"
Ben Patterson committed
76 77 78 79 80 81
      :invocation: single
      :output: exit-status
      :report_files:
      - "reports/acceptance/cms.xml"
    - :type: junit
      :mode: basic
Muhammad Ammar committed
82
      :command: paver test_bokchoy --extra_args="-a shard_1" && bash ./scripts/coverage.sh shard1
Ben Patterson committed
83 84 85 86 87 88
      :invocation: single
      :output: exit-status
      :report_files:
      - "reports/bok_choy/xunit.xml"
    - :type: junit
      :mode: basic
Muhammad Ammar committed
89
      :command: paver test_bokchoy --extra_args="-a shard_2" && bash ./scripts/coverage.sh shard2
90 91 92 93 94 95
      :invocation: single
      :output: exit-status
      :report_files:
      - "reports/bok_choy/xunit.xml"
    - :type: junit
      :mode: basic
Muhammad Ammar committed
96
      :command: paver test_bokchoy --extra_args="-a shard_1=False,shard_2=False" && bash ./scripts/coverage.sh shard3
Ben Patterson committed
97 98 99 100
      :invocation: single
      :output: exit-status
      :report_files:
      - "reports/bok_choy/xunit.xml"