Travis-CI: Return back to Ubuntu
This commit is contained in:
parent
9a575ee4f2
commit
fa2369e57c
21
.travis.yml
21
.travis.yml
@ -1,21 +1,8 @@
|
|||||||
language: nix
|
dist: bionic
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- $HOME/nix.store
|
|
||||||
|
|
||||||
before_cache:
|
|
||||||
- mkdir -p $HOME/nix.store
|
|
||||||
- nix copy --to file://$HOME/nix.store -f default.nix buildInputs
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo mkdir -p /etc/nix
|
- sudo apt update
|
||||||
- echo "substituters = https://cache.nixos.org/ file://$HOME/nix.store" | sudo tee -a /etc/nix/nix.conf > /dev/null
|
- sudo apt install texlive-full rubber pandoc
|
||||||
- echo 'require-sigs = false' | sudo tee -a /etc/nix/nix.conf > /dev/null
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
# Make sure that version is up-to-date
|
|
||||||
- sed -i "s/version = .*/version = \"$(git describe --abbrev=0 --tags | sed 's/v//')\";/" default.nix
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- nix-build --option sandbox true
|
- make
|
||||||
|
Loading…
Reference in New Issue
Block a user