-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
43 lines (40 loc) · 913 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
sudo: false
language: rust
rust:
- nightly
services:
- docker
jobs:
include:
- stage: clippy backend
before_script: cd backend/
script:
- rustup component add clippy
- cargo +nightly clippy
- stage: fmt backend
before_script: cd backend/
script:
- rustup component add rustfmt
- cargo +nightly fmt
- stage: clippy frontend
before_script: cd frontend/
script:
- rustup component add clippy
- cargo +nightly clippy
- stage: fmt frontend
before_script: cd frontend/
script:
- rustup component add rustfmt
- cargo +nightly fmt
- stage: backend
before_script: cd backend/
script: cargo +nightly build
- stage: frontend
script: docker-compose build
stages:
- clippy backend
- fmt backend
- clippy frontend
- fmt frontend
- backend
- frontend