Explorar el Código

[TravisCI] always `apt-get update` after `add-apt-repository`

Andy Li hace 6 años
padre
commit
7c33ec839d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      .travis.yml

+ 2 - 1
.travis.yml

@@ -52,7 +52,8 @@ install_linux: &install_linux
   # install neko
   - if [ ! $DEPLOY_NIGHTLIES ]; then
       sudo add-apt-repository ppa:haxe/snapshots -y;
-      sudo apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y neko neko-dev;
+      sudo apt-get -o dir::cache::archives="$APT_CACHE_DIR" update -qqy;
+      sudo apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -qqy neko neko-dev;
     else
       if [ ! -d "$HOME/neko" ]; then
         mkdir $HOME/neko;