language: c
sudo: required
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install python-yaml
  - sudo apt-get install tidy
  - sudo apt-get install valgrind
#compiler:
#  - clang
#  - gcc
script:
  # Apply TRAVIS=1 to codepolicycheck to make it error out on failures;
  # don't prevent apitest/ecmatest which also do a policy check.
  - TRAVIS=1 make codepolicycheck
  - make tidy-site
  - make apitest
  - make ecmatest
  - make errorinjecttest

language: c
sudo: required
before_install:
  - sudo apt-get update -qq
  #- sudo apt-get install python-yaml
  - sudo apt-get install tidy
  - sudo apt-get install valgrind
  - pip install PyYAML
#compiler:
#  - clang
#  - gcc
script:
  # Apply TRAVIS=1 to codepolicycheck to make it error out on failures;
  # don't prevent apitest/ecmatest which also do a policy check.
  - TRAVIS=1 make codepolicycheck
  - make tidy-site
  - make apitest
  - make ecmatest
  - make errorinjecttest

Fix Travis python-yaml import error
Fix Travis python-yaml import error

Not sure why 'sudo apt-get install python-yaml' no longer works when
Travis updated Ubuntu base image.
