File: circle.yml

package info (click to toggle)
node-ajv 6.12.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,736 kB
  • sloc: javascript: 8,791; sh: 48; makefile: 8
file content (31 lines) | stat: -rw-r--r-- 643 bytes parent folder | download | duplicates (3)
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
machine:
  node:
    version: 4

general:
  branches:
    ignore:
      - gh-pages

checkout:
  post:
    - git submodule sync
    - git submodule update --init

dependencies:
  post:
    - wget https://saucelabs.com/downloads/sc-latest-linux.tar.gz
    - tar -xzf sc-latest-linux.tar.gz

test:
  override:
    - cd sc-*-linux && ./bin/sc --user $SAUCE_USERNAME --api-key $SAUCE_ACCESS_KEY --readyfile ~/sauce_is_ready:
        background: true

    - while [ ! -e ~/sauce_is_ready ]; do sleep 1; done

    - scripts/prepare-tests
    - karma start karma.sauce.js

  post:
    - killall --wait sc  # wait for Sauce Connect to close the tunnel