Installing via .travis.yml

You are running the “echo” command as root, but not the >> part. You could try something like this instead:

sudo sh -c 'echo "deb http://archive.panda3d.org/ubuntu precise main" >> /etc/apt/sources.list'