Selaa lähdekoodia

Get Cargo working on Travis

Ben S 11 vuotta sitten
vanhempi
sitoutus
7aec8631ab
1 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 5 2
      .travis.yml

+ 5 - 2
.travis.yml

@@ -1,7 +1,10 @@
 before_install:
   - yes | sudo add-apt-repository ppa:hansjorg/rust
+  - yes | sudo add-apt-repository ppa:cmrx64/cargo
   - sudo apt-get update
 install:
-  - sudo apt-get install rust-nightly
+  - sudo apt-get install rust-nightly cargo
 script:
-  - rustc --test src/exa.rs -o exa-test && ./exa-test
+  - cargo build
+  - cargo test
+