language: python
    - "3.2"
    - "3.4"
    - "3.5"
    - "3.6"
addons:
    apt:
        packages:
            - python3-scipy
            - python3-nose
            - python3-coverage
before_install:
    - pip install codecov rednose nose coverage toolz nose-parameterized codeclimate-test-reporter
cache: pip
sudo: false
script: nosetests
dist: trusty
after_success:
    - codeclimate-test-reporter --token 71eb68ef3ba1f85d8e92407d03e43df51deb6f14a870ada23e8530a16d438eae
    - codecov --token=e3a3e622-b5b4-40a0-b0be-f427bbb23449

language: python
    - "3.2"
    - "3.4"
    - "3.5"
    - "3.6"
addons:
    apt:
        packages:
            - python3-scipy
            - python3-nose
            - python3-coverage
install:
    - pip install codecov rednose nose coverage toolz nose-parameterized codeclimate-test-reporter
cache: pip
sudo: false
script: nosetests
dist: trusty
after_success:
    - codeclimate-test-reporter --token 71eb68ef3ba1f85d8e92407d03e43df51deb6f14a870ada23e8530a16d438eae
    - codecov --token=e3a3e622-b5b4-40a0-b0be-f427bbb23449

Use install instead of before_install
Use install instead of before_install
