# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2

general:
  branches:
    ignore:
      - gh-pages

jobs:
  test:
    docker:
      - image: bouncestorage/swift-aio
      - run: docker run -P -v /tmp/test_data_store:/swift/nodes -t bouncestorage/swift-aio
      - run: curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' http://127.0.0.1:8080/auth/v1.0
      - run: curl -v -H 'X-Auth-Token: <token-from-x-auth-token-above>' <url-from-x-storage-url-above>
      - run: swift -A http://127.0.0.1:8080/auth/v1.0 -U test:tester -K testing stat
    docker:
      - image: circleci/node:8.9.4
    steps:
      - checkout
      - run: cp tests/test.config.circle-ci.js tests/test.config.js
      - run: npm install
      - run: npm test
  build:
    docker:
      - image: circleci/node:8.9.4
    steps:
      - checkout
      - run: npm install
      - run: npm run lint

workflows:
  version: 2
  test_build:
    jobs:
      - build
      - test
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2

general:
  branches:
    ignore:
      - gh-pages

jobs:
  test:
    docker:
      - image: bouncestorage/swift-aio
      - run: docker run -P -v /tmp/test_data_store:/swift/nodes -t bouncestorage/swift-aio
      - run: curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' http://127.0.0.1:8080/auth/v1.0
      - run: swift -A http://127.0.0.1:8080/auth/v1.0 -U test:tester -K testing stat
    docker:
      - image: circleci/node:8.9.4
    steps:
      - checkout
      - run: cp tests/test.config.circle-ci.js tests/test.config.js
      - run: npm install
      - run: npm test
  build:
    docker:
      - image: circleci/node:8.9.4
    steps:
      - checkout
      - run: npm install
      - run: npm run lint

workflows:
  version: 2
  test_build:
    jobs:
      - build
      - test
Remove one command in bouncestorage
Remove one command in bouncestorage
