You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lemmy/.travis.yml

23 lines
529 B
YAML

language: rust
rust:
- stable
matrix:
allow_failures:
- rust: nightly
fast_finish: true
cache: cargo
5 years ago
before_script:
- psql -c "create user rrr with password 'rrr' superuser;" -U postgres
- psql -c 'create database rrr with owner rrr;' -U postgres
5 years ago
before_install:
5 years ago
- cd server
5 years ago
script:
5 years ago
- cargo install --force diesel_cli --no-default-features --features postgres
- diesel migration run
- cargo build --all
5 years ago
- cargo test --all
5 years ago
env:
5 years ago
- DATABASE_URL=postgres://rrr:rrr@localhost/rrr
5 years ago
addons:
5 years ago
postgresql: "9.4"