feat: Add Travis CI configuration

Adds a configuration that builds all of my own services and pushes the
resulting closures to Cachix.
This commit is contained in:
Vincent Ambo 2019-09-02 16:38:59 +01:00
parent 5e9b91a6d2
commit 6472b2645c

10
.travis.yml Normal file
View file

@ -0,0 +1,10 @@
language: nix
env:
- NIX_PATH="nixpkgs=${TRAVIS_BUILD_DIR}"
before_script:
- nix-env -f '<nixpkgs>' -iA cachix
- cachix use tazjin
script:
# All of my own tools are under the top-level 'tazjin' attribute
# set, this command will build all of them.
- nix-build -A tazjin | cachix push tazjin