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

24 lines
483 B
YAML

language: rust
rust:
- stable
matrix:
allow_failures:
- rust: nightly
fast_finish: true
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
5 years ago
before_script:
- psql -c "create user lemmy with password 'password' superuser;" -U postgres
- psql -c 'create database lemmy with owner lemmy;' -U postgres
5 years ago
before_install:
5 years ago
- cd server
5 years ago
script:
5 years ago
- diesel migration run
- cargo build
- cargo test
5 years ago
addons:
5 years ago
postgresql: "9.4"