CI: .travis.yml: rm Nix updates

After refactoring they are right beside/before build.sh Nix updates, so this
update can be reduced.

M  .travis.yml
This commit is contained in:
Anton-Latukha 2020-06-24 03:41:09 +03:00
parent 249e1797e2
commit e3e6511c91
No known key found for this signature in database
GPG key ID: 3D84C07E91802E41

View file

@ -118,11 +118,6 @@ before_script:
true; fi true; fi
# # macOS service restart # # macOS service restart
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then sudo launchctl kickstart -k system/org.nixos.nix-daemon; fi - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then sudo launchctl kickstart -k system/org.nixos.nix-daemon; fi
# update on Linux
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then nix-channel --update && nix-env -iA nixpkgs.nix; fi
# update on macOS
# 2020-06-24: HACK: Do not ask why different commands on Linux and macOS. IDK, wished they we the same. These are the only commands that worked on according platforms right after the fresh Nix installer rollout.
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then sudo nix upgrade-nix; fi
script: script:
# #