env:
  global:
    - secure: UDORPffOmJ4Ht0P9jGM8w2MhDpSBivIet4iJEW5q9Hx5tzTt7FUg2o9Tjl1EjGfM4khCBjjYQ9tmtOruY62wJoy4O91vo83iPhb58weaL81uvbd4WMUahcAwjB1U/qmS2UUmje5SO3pNswV49ZKK8aVy5QgGXLYbl+vc5ll89To=
before_install:
  - wget http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
  - tar -xzvf rust-nightly-x86_64-unknown-linux-gnu.tar.gz
install:
  - sudo ./rust-nightly-x86_64-unknown-linux-gnu/install.sh
  - sudo apt-get install texinfo
  - git clone git://git.savannah.gnu.org/libjit.git
  - cd libjit
  - ./auto_gen.sh
  - ./configure 
  - make
  - sudo make install
  - cd ..
script:
  - make libs build doc
notifications:
  email:
    - tophattedcoder@gmail.com
after_script:
  - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
env:
  global:
    - secure: UDORPffOmJ4Ht0P9jGM8w2MhDpSBivIet4iJEW5q9Hx5tzTt7FUg2o9Tjl1EjGfM4khCBjjYQ9tmtOruY62wJoy4O91vo83iPhb58weaL81uvbd4WMUahcAwjB1U/qmS2UUmje5SO3pNswV49ZKK8aVy5QgGXLYbl+vc5ll89To=
before_install:
  - wget http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
  - tar -xzvf rust-nightly-x86_64-unknown-linux-gnu.tar.gz
  - git clone git://git.savannah.gnu.org/libjit.git
install:
  - sudo ./rust-nightly-x86_64-unknown-linux-gnu/install.sh
  - sudo apt-get install texinfo
  - cd libjit
  - ./auto_gen.sh
  - ./configure 
  - make
  - sudo make install
  - cd ..
script:
  - make libs build doc
notifications:
  email:
    - tophattedcoder@gmail.com
after_script:
  - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
Move git clone into before_install
Move git clone into before_install
