Commit 5a95d947 authored by Pallav Agarwal's avatar Pallav Agarwal

Add new CI file based on Nix.

parent 50ccde2a
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- cp -r .well-known .public
- mv .public public
- bash <(curl https://raw.githubusercontent.com/pallavagarwal07/NixCI/master/travis-tests/install-nix.sh)
- . /home/"${USER}"/.nix-profile/etc/profile.d/nix.sh
- nix-build -j20 .
- mkdir public
- cp -r result/* public
- cp -r result/.* public
artifacts:
paths:
- public
only:
- master
- source
59zfH4LJ1YrFUiMy6nMNQLv4kPLGntMn76e5TSYae5s.bKOu1gdmT8LNXKx0WxAH44itBIrNjYCS6kyOGh-Q90U
\ No newline at end of file
EIjg8FvVZXOJw0N-pYrtVKx15vdQKCUCoMy3_pykRt4.bKOu1gdmT8LNXKx0WxAH44itBIrNjYCS6kyOGh-Q90U
\ No newline at end of file
let
pkgs = import <nixpkgs> {};
in
{ stdenv ? pkgs.stdenv, python ? pkgs.python, pythonIRClib ? pkgs.pythonIRClib }:
{pkgs? import <nixpkgs> {} }:
stdenv.mkDerivation {
pkgs.stdenv.mkDerivation {
name = "python-nix";
version = "0.1.0.0";
src = ./.;
......@@ -18,5 +15,5 @@ stdenv.mkDerivation {
pkgs.python2Packages.pygments
];
preUnpack = "echo $PWD";
#shellHook = "bundle exec jekyll serve";
shellHook = "bundle exec jekyll serve";
}
This diff is collapsed.
......@@ -2,123 +2,123 @@
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://localhost:4000/2015/06/18/IIT-Kanpur/</loc>
<lastmod>2015-06-18T00:00:00+05:30</lastmod>
<lastmod>2015-06-18T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/06/26/Linuxbrew/</loc>
<lastmod>2015-06-26T00:00:00+05:30</lastmod>
<lastmod>2015-06-26T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/06/30/Mouse-with-vim/</loc>
<lastmod>2015-06-30T00:00:00+05:30</lastmod>
<lastmod>2015-06-30T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/07/01/Vim-Customization/</loc>
<lastmod>2015-07-01T00:00:00+05:30</lastmod>
<lastmod>2015-07-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/07/01/Vim-Mappings/</loc>
<lastmod>2015-07-01T00:00:00+05:30</lastmod>
<lastmod>2015-07-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/07/03/Vim-Plug-Plugin-Manager/</loc>
<lastmod>2015-07-03T00:00:00+05:30</lastmod>
<lastmod>2015-07-03T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/07/08/Vim-Colorscheme/</loc>
<lastmod>2015-07-08T00:00:00+05:30</lastmod>
<lastmod>2015-07-08T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/07/09/Vim-Plugins/</loc>
<lastmod>2015-07-09T00:00:00+05:30</lastmod>
<lastmod>2015-07-09T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/07/09/Wrath-of-Linux-Package-Managers/</loc>
<lastmod>2015-07-09T00:00:00+05:30</lastmod>
<lastmod>2015-07-09T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/07/27/Boost-Python-Performance/</loc>
<lastmod>2015-07-27T00:00:00+05:30</lastmod>
<lastmod>2015-07-27T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/08/01/SSH-from-Windows/</loc>
<lastmod>2015-08-01T00:00:00+05:30</lastmod>
<lastmod>2015-08-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/08/01/Windows-10/</loc>
<lastmod>2015-08-01T00:00:00+05:30</lastmod>
<lastmod>2015-08-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/08/24/Shared-TMUX-sessions/</loc>
<lastmod>2015-08-24T00:00:00+05:30</lastmod>
<lastmod>2015-08-24T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/10/06/Introduction-to-Cimulator/</loc>
<lastmod>2015-10-06T00:00:00+05:30</lastmod>
<lastmod>2015-10-06T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/12/10/Configuration-Management-in-Linux/</loc>
<lastmod>2015-12-10T00:00:00+05:30</lastmod>
<lastmod>2015-12-10T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2015/12/12/Linux-commands-every-user-should-master/</loc>
<lastmod>2015-12-12T00:00:00+05:30</lastmod>
<lastmod>2015-12-12T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2016/04/27/SSH-keys/</loc>
<lastmod>2016-04-27T00:00:00+05:30</lastmod>
<lastmod>2016-04-27T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2016/04/30/Google-Summer-of-Code-with-Gentoo/</loc>
<lastmod>2016-04-30T00:00:00+05:30</lastmod>
<lastmod>2016-04-30T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2016/05/06/SSH-port-forwarding-and-some-cool-uses/</loc>
<lastmod>2016-05-06T00:00:00+05:30</lastmod>
<lastmod>2016-05-06T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2016/05/06/Ultimate-control-over-mobile-browser/</loc>
<lastmod>2016-05-06T00:00:00+05:30</lastmod>
<lastmod>2016-05-06T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2016/05/13/Reference-Sheets-and-Useful-Links/</loc>
<lastmod>2016-05-13T00:00:00+05:30</lastmod>
<lastmod>2016-05-13T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2016/05/13/SAT-Solver/</loc>
<lastmod>2016-05-13T00:00:00+05:30</lastmod>
<lastmod>2016-05-13T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2016/06/09/Bugzilla-Landfills/</loc>
<lastmod>2016-06-09T00:00:00+05:30</lastmod>
<lastmod>2016-06-09T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2016/08/23/Preparing-for-Google-summer-of-code/</loc>
<lastmod>2016-08-23T00:00:00+05:30</lastmod>
<lastmod>2016-08-23T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2016/09/26/YourHonour-k8s-programming-judge/</loc>
<lastmod>2016-09-26T00:00:00+05:30</lastmod>
<lastmod>2016-09-26T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2017/05/07/How-I-got-here/</loc>
<lastmod>2017-05-07T00:00:00+05:30</lastmod>
<lastmod>2017-05-07T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2017/06/07/A-month-end-at-Google/</loc>
<lastmod>2017-06-07T00:00:00+05:30</lastmod>
<lastmod>2017-06-07T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2017/07/10/How-far-have-I-come-working-at-Google/</loc>
<lastmod>2017-07-10T00:00:00+05:30</lastmod>
<lastmod>2017-07-10T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2017/07/24/Mistakes-are-okay/</loc>
<lastmod>2017-07-24T00:00:00+05:30</lastmod>
<lastmod>2017-07-24T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/2017/07/29/End-of-Diary/</loc>
<lastmod>2017-07-29T00:00:00+05:30</lastmod>
<lastmod>2017-07-29T00:00:00+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/search/</loc>
......@@ -143,14 +143,14 @@
</url>
<url>
<loc>http://localhost:4000/404.html</loc>
<lastmod>2017-08-14T00:16:35+05:30</lastmod>
<lastmod>2017-08-13T18:46:35+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/img/gsoc.pdf</loc>
<lastmod>2017-08-14T00:16:36+05:30</lastmod>
<lastmod>2017-08-13T18:46:36+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/res/resume.pdf</loc>
<lastmod>2017-08-14T00:16:36+05:30</lastmod>
<lastmod>2017-08-13T18:46:36+00:00</lastmod>
</url>
</urlset>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment