forked from cuplv/cuanto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 3.22 KB
/
.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
language: nix
before_script:
- mkdir -p $HOME/overlays && cd $HOME/overlays && git clone https://github.com/cuplv/cuplv-nixpkgs && cd -
- nix-env -iA nixpkgs.bashInteractive
script:
- nix-shell --pure --command "sbt clean coverage test" -I nixpkgs-overlays=$HOME/overlays
after_success:
- nix-shell --pure --command "sbt coverageReport coveralls codacyCoverage" -I nixpkgs-overlays=$HOME/overlays
before_deploy:
# Record minimal build information via the Git user ident
- git config --global user.name "$USER"
- git config --global user.email "$TRAVIS_BUILD_NUMBER@$TRAVIS_COMMIT"
# Decrypt the secret deploy key using instructions from `travis encrypt-file`
- openssl aes-256-cbc -K $encrypted_d7be5f0fff53_key -iv $encrypted_d7be5f0fff53_iv -in project/travis-deploy-key.enc -out project/travis-deploy-key -d
- chmod 600 project/travis-deploy-key
# Start ssh-agent in the background and load the deploy key
- eval "$(ssh-agent -s)"
- ssh-add project/travis-deploy-key
deploy:
provider: script
script: sbt ghpagesPushSite
skip_cleanup: true
on:
tags: true
condition: $TRAVIS_PULL_REQUEST = false
notifications:
slack:
rooms:
- secure: dx44+qghF1uboPZf2APo0vooY0cOrOqLzMbXU42vMYs2v83PQBp7e3r5BPagTk7mJs2S0caf8yOUO3ZTIWrYSN5AwOsnkjI7PX9dBxSa1nb8g/CwLq+EJXB1buF6Bfv7GIdKLJ/inh2Mkw9t3GPXwuhV3lqQPXUdDonmEmGW4+Zb4zFVBSyUEL0dXe4HSj9u5pBRC6Mxz3zchGPUc3WH2oQgZMldaUo+8B6AA8VDfUiIoUx8ukL+MKgEsRUmyd4c52xEbaDJ97FoKWf+AtMAHoIqWZzNA6ETV/tyuyk2eakBadrLd0yoFmNRoSb5/3zQzB1cdiz2YXFNoGS7HDwid3R7ssMj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