Travis coverity: Enforce Ubuntu 14.04 env, fix repo

This commit is contained in:
Daniel Molkentin 2016-05-24 11:30:03 +02:00
Родитель c041ca6163
Коммит 2f1a40ff7c
1 изменённых файлов: 10 добавлений и 4 удалений

Просмотреть файл

@ -1,15 +1,21 @@
sudo: required
language: cpp language: cpp
services:
- docker
branches: branches:
only: only:
- coverity_scan - coverity_scan
before_install: before_install:
- sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_12.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list" - sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_14.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list"
- sudo sh -c "echo 'deb-src http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_12.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list" - sudo sh -c "echo 'deb-src http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_14.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list"
- wget http://download.opensuse.org/repositories/isv:ownCloud:desktop/xUbuntu_12.04/Release.key - wget http://download.opensuse.org/repositories/isv:ownCloud:desktop/Ubuntu_14.04/Release.key
- sudo apt-key add - < Release.key - sudo apt-key add - < Release.key
- sudo apt-get update - sudo apt-get update
- sudo apt-get build-dep owncloud-client - sudo apt-get -y build-dep owncloud-client
- checkout=$(git show-ref --head --hash head) - checkout=$(git show-ref --head --hash head)
- cd ../ - cd ../
- wget https://scan.coverity.com/download/linux-64 --post-data "token=$token&project=owncloud%2Fmirall" -O coverity_tool.tgz - wget https://scan.coverity.com/download/linux-64 --post-data "token=$token&project=owncloud%2Fmirall" -O coverity_tool.tgz