# Make sure we run in the docker container
sudo: false
language: c
addons:
    apt:
        packages:
        # Libraries needed to build cross compiler
            - libgmp-dev
            - libmpfr-dev
            - python-virtualenv
            - libclang1-3.8
cache:
    directories:
        - compiler/

before_script:
    - virtualenv ~/venv
    - source ~/venv/bin/activate
    - pip install cldoc

script:
    - if [[ ! -e compiler/i686-elf/bin/i686-elf-gcc ]]; then
        bash ./scripts/build_cross_compiler.sh;
      fi
    - make
    - make run-tests
    - make docs

# Make sure we run in the docker container
sudo: false
language: c
addons:
    apt:
        packages:
        # Libraries needed to build cross compiler
            - libgmp-dev
            - libmpfr-dev
            - python-virtualenv
            - libclang1-3.4
cache:
    directories:
        - compiler/

before_script:
    - virtualenv ~/venv
    - source ~/venv/bin/activate
    - pip install cldoc

script:
    - if [[ ! -e compiler/i686-elf/bin/i686-elf-gcc ]]; then
        bash ./scripts/build_cross_compiler.sh;
      fi
    - make
    - make run-tests
    - make docs

Revert "Bump libclang version to latest"
Revert "Bump libclang version to latest"

This reverts commit c7d81dd813deb3643f4bd839525284f530a0199f.
