-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.travis.yml
More file actions
24 lines (22 loc) · 794 Bytes
/
Copy path.travis.yml
File metadata and controls
24 lines (22 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: node_js
sudo: required
dist: trusty
node_js:
- stable
notifications:
slack: dloa:xwvK0sij6hQ2VZnn9YBQguYh
before_install:
- echo -e "deb http://ppa.launchpad.net/pali/pali/ubuntu precise main\ndeb-src http://ppa.launchpad.net/pali/pali/ubuntu precise main" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -y --force-yes
- sudo apt-get install ncftp nsis -y --force-yes
install:
- npm install --no-optional
- grunt clean:all
script:
- mkdir release && chmod -R 755 util
- util/linux.sh
- util/win32.sh
after_success:
- ls -sh release
- mkdir -p travis_upload/$TRAVIS_JOB_NUMBER && mv release/* travis_upload/$TRAVIS_JOB_NUMBER
- ncftpput -R -v -u $FTP_USER -p $FTP_PASSWORD $FTP_URL /alexandria-librarian travis_upload/$TRAVIS_JOB_NUMBER