# Config.yml configuratoin

**URL:** <https://discuss.circleci.com/t/config-yml-configuratoin/22362>\
**Category:** Build Environment\
**Tags:** circle-yml\
**Created:** [May 15, 2018, 6:54pm UTC](https://discuss.circleci.com/t/config-yml-configuratoin/22362 "2018-05-15T18:54:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alaxalves](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/alaxalves/32/18429_2.png) [@alaxalves](https://discuss.circleci.com/u/alaxalves)\
**Post date:** [May 15, 2018, 6:54pm UTC](https://discuss.circleci.com/t/config-yml-configuratoin/22362/1 "2018-05-15T18:54:12Z")

</div>

This is my config.yml and for some reason I keep getting the following error:

 ![image](https://global.discourse-cdn.com/circleci/original/3X/8/c/8cafa7094cc759167594f7d3bdb69be610dc11cf.png)

```auto
version: 2.0

workflows:
  version: 2.0
  noosfero:
    jobs:
      - build
      - specs-models:
          requires:
           - build
      - api:
          requires:
           - build
      - units:
          requires:
           - build
      - functionals:
          requires:
           - build
      - integration:
          requires:
           - build
      - cucumber-1:
          requires:
           - build
      - cucumber-2:
          requires:
           - build
      - selenium-1:
          requires:
           - build
      - selenium-2:
          requires:
           - build
      - selenium-3:
          requires:
           - build
      - selenium-4:
          requires:
           - build
      - selenium-5:
          requires:
           - build
      - selenium-6:
          requires:
           - build
      - plugins-1:
          requires:
           - build
      - plugins-2:
          requires:
           - build
      - plugins-3:
          requires:
           - build
      - plugins-4:
          requires:
           - build
      - plugins-5:
          requires:
           - build

jobs:
  build:
    machine: true
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      cache_directories:
        - "vendor/bundle"
        - "elasticsearch-2.4.3"
      run:
        name: preparing environment
        command: |
          sudo apt-get install po4a iso-codes libpq-dev libreadline-dev libxslt1-dev
          mkdir -p tmp/{pids,cache} log cache
      run:
        name: post env preparation
        command: |
          wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.4.3/elasticsearch-2.4.3.tar.gz
          tar -xvf elasticsearch-2.4.3.tar.gz
          elasticsearch-2.4.3/bin/elasticsearch: {background: true}
          script/noosfero-plugins disableall
          cp config/database.yml.circleci config/database.yml
          bundle exec rake db:schema:load
          ./script/quick-start
          bundle exec rake db:migrate

  specs-models:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: bundle exec rake spec SPEC=spec/models

  api:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: bundle exec rake test:api

  units:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: bundle exec rake test:api

  functionals:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: bundle exec rake test:functionals

  integration:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: bundle exec rake test:integration

  cucumber-1:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: SLICE=1/2 bundle exec rake cucumber

  cucumber-2:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: SLICE=2/2 bundle exec rake cucumber

  selenium-1:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: SLICE=1/6 bundle exec rake selenium

  selenium-2:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: SLICE=2/6 bundle exec rake selenium

  selenium-3:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: SLICE=3/6 bundle exec rake selenium
  
  selenium-4:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: SLICE=4/6 bundle exec rake selenium
  
  selenium-5:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: SLICE=5/6 bundle exec rake selenium

  selenium-6:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: SLICE=6/6 bundle exec rake selenium

  plugins-1:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: SLICE=1/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install

  plugins-2:
    docker:
      - image: alaxalves/noosfero-ci

    steps:
      - checkout
      - run: SLICE=2/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install

  plugins-3:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: SLICE=3/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install

  plugins-4:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: SLICE=4/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install

  plugins-5:
    docker:
      - image: alaxalves/noosfero-ci
    steps:
      - checkout
      - run: SLICE=5/5 bundle exec rake test:noosfero_plugins NOOSFERO_BUNDLE_OPTS=install

```

My repo can be found in [https://github.com/alaxalves/noosfero](https://github.com/alaxalves/noosfero)

Could somebody please help me! Thnx

---

<div class="post-metadata">

**Author:** ![halfer](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/halfer/32/9083_2.png) [@halfer](https://discuss.circleci.com/u/halfer)\
**Post date:** [May 15, 2018, 9:58pm UTC](https://discuss.circleci.com/t/config-yml-configuratoin/22362/2 "2018-05-15T21:58:28Z")

</div>

Yep, it’s a YAML problem - run it through a [parser](https://yaml-online-parser.appspot.com/).

Everything under your `steps:` section should be a dictionary entry. See [this example](https://github.com/halfer/php-mysql-circleci/blob/master/.circleci/config.yml) - there’s a full example in the docs too.

(Meta: if you can post your errors as text [rather than images](http://idownvotedbecau.se/imageofanexception/), that can be helpful - text is more compatible with clipboards, screen-readers and search engines, and can sometimes make it easier to help).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [August 13, 2018, 9:58pm UTC](https://discuss.circleci.com/t/config-yml-configuratoin/22362/3 "2018-08-13T21:58:34Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
